feat: add immediate rollout flag to container deployments (#7)
- Enable --containers-rollout=immediate in package.json deploy script - Apply same flag to GitHub Actions deployment workflow
This commit is contained in:
parent
9408bf6598
commit
a278e25bd7
|
|
@ -113,6 +113,7 @@ jobs:
|
|||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
command: deploy --containers-rollout=immediate
|
||||
|
||||
- name: Restore placeholder in wrangler.toml before commit
|
||||
if: steps.check-update.outputs.needed == 'true'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "esbuild src/index.ts --bundle --outfile=dist/index.mjs --format=esm --platform=neutral --external:@cloudflare/containers --external:@cloudflare/workers-types",
|
||||
"deploy": "pnpm run build && wrangler deploy",
|
||||
"deploy": "pnpm run build && wrangler deploy --containers-rollout=immediate",
|
||||
"dev": "wrangler dev"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue