stackblaze redeploy
Starts a new deployment of the linked app:
- Git app: starts a new build from the branch configured on the app. Follow it with
stackblaze builds logs. - Image app: re-pulls the configured image and tag (useful for moving tags such as
latest). --tag <tag>: deploys that image tag instead.
To restart the running version without building or pulling, use stackblaze restart. Same command as stackblaze apps redeploy. To ship changes staged with --skip-deploy as well, use stackblaze deploy --apply-pending.
stackblaze redeploy [--tag <tag>] [options]| Flag | Description |
|---|---|
--tag <tag> |
Deploy this image tag |
Also accepts the scope and output flags: -p, --pipeline, --phase, -a, --app, --token, --api-url, -o, --output, --json.
Examples
Section titled “Examples”stackblaze redeploystackblaze redeploy && stackblaze builds logs --ci # git app: rebuild and stream the buildstackblaze redeploy --tag 1.4.3 -a apiWith -o json, the result has mode: build (git rebuild), image (re-pull) or tag.