Skip to content

Commit 9ce2a1e

Browse files
simonabadoiuMattIPv4
authored andcommitted
Fix GitHub Actions to use correct API token secret for deployments
- Replace CLOUDFLARE_CDNJS_ACCOUNT_ID with CLOUDFLARE_CDNJS_API_TOKEN for CLOUDFLARE_API_TOKEN in production workflow - Replace CLOUDFLARE_CDNJS_ACCOUNT_ID with CLOUDFLARE_CDNJS_API_TOKEN for CLOUDFLARE_API_TOKEN in staging workflow
1 parent 3701fa7 commit 9ce2a1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Deploy to ${{ github.ref_name }}
4444
run: npx wrangler deploy --env ${{ github.ref_name }} --outdir dist-worker --minify
4545
env:
46-
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_CDNJS_ACCOUNT_ID }}
46+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_CDNJS_API_TOKEN }}
4747
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_CDNJS_ACCOUNT_ID }}
4848

4949
- name: Prepare Sentry Release

0 commit comments

Comments
 (0)