File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 55 branches : [master]
66 paths :
77 - ' cornucopia.owasp.org/**'
8- - ' .github/workflows/deploy-staging.yml'
8+ - ' .github/workflows/deploy-website-staging.yml'
9+ - ' .github/workflows/build-website-staging.yml'
910 permissions :
1011 contents : read
1112 jobs :
5354 call-deploy-staging :
5455 needs : build-website-staging
5556 uses : ./.github/workflows/deploy-website-staging.yml
57+ secrets : inherit
Original file line number Diff line number Diff line change 22 name : Deploy The Cornucopia Website on Staging
33 on :
44 workflow_call :
5+ secrets :
6+ CLOUDFLARE_STAGING_API_TOKEN :
7+ description : " Cloudflare API token for staging"
8+ required : true
9+ CLOUDFLARE_STAGING_ACCOUNT_ID :
10+ description : " Cloudflare account ID for staging"
11+ required : true
512 workflow_dispatch :
613 permissions :
714 contents : read
5764 accountId : ${{ secrets.CLOUDFLARE_STAGING_ACCOUNT_ID }}
5865 wranglerVersion : " 4.18.0"
5966 command : deploy script/nonce-worker.js --config script/wrangler.toml --env staging
60- env :
61- CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_STAGING_API_TOKEN }}
62- CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_STAGING_ACCOUNT_ID }}
You can’t perform that action at this time.
0 commit comments