stackblaze deploy
Without flags, deploy is stackblaze redeploy: a git or local-folder app rebuilds, an image app re-pulls its image. If the app has staged changes, it warns that they are not part of this deploy.
With --apply-pending, it applies every change staged with --skip-deploy as one release, the same as stackblaze pending apply.
stackblaze deploy [--tag <tag>]stackblaze deploy --apply-pending [-m <text>]Options
Section titled “Options”| Flag | Description |
|---|---|
--apply-pending |
Apply every staged change (see pending list) as one release |
-m, --message <text> |
Release message shown in the deployment history (with --apply-pending) |
--tag <tag> |
Deploy this image tag instead (not with --apply-pending) |
Also accepts the scope and output flags: -p, --pipeline, --phase, -a, --app, --token, --api-url, -o, --output, --json.
Examples
Section titled “Examples”stackblaze variables set FOO=1 --skip-deploystackblaze scale web=3 --skip-deploystackblaze deploy --apply-pending -m "Bump FOO and scale up"stackblaze deploy --tag 1.4.3How it works
Section titled “How it works”Staging lets you collect several variable and scale changes and roll them out together instead of one release each. deploy --apply-pending asks the server to apply them all at once; plain deploy redeploys what is already configured and leaves staged changes staged.