Technical Reference · gram redeploy
gram redeploy
Clone an existing deployment and redeploy it with the same assets.
The redeploy command clones an existing deployment and deploys it again with
the same assets. Use it to recover from a failed deployment or to force a
fresh rollout without changing any sources. With no arguments, it redeploys
the latest deployment.
The gram redeploy command requires an API key, an organization slug, and
a project slug. After running gram auth, these values come from the
local profile. For more information on these values, see the global CLI
options.
gram redeployThe command prints the new deployment ID along with the ID it was cloned
from, then polls until the deployment completes. Check on a deployment at any
time with gram status.
Options
Section titled “Options”The deployment ID to redeploy. If not provided, the latest deployment is redeployed.
gram redeploy --id 01234567-89ab-cdef-0123-456789abcdefskip-poll
Section titled “skip-poll”Use this option to skip polling for deployment completion and return
immediately. By default, this is set to false.
Output the result as JSON, for scripting.
gram redeploy --skip-poll --json