File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4949 - name : ' [preview] 🔶 Publish to Cloudflare Pages'
5050 env :
5151 CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
52- CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
52+ CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
5353 run : npx --yes wrangler@latest pages --project-name="docs" deploy result >> /tmp/docs_deploy.txt
5454
5555 - name : Set Deploy Output
9090 - name : ' [workflow-dispatch] 🔶 Publish to Cloudflare Pages'
9191 env :
9292 CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
93- CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
93+ CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
9494 run : npx --yes wrangler@latest pages --project-name="docs" deploy result
9595
9696 deploy-production :
@@ -114,5 +114,5 @@ jobs:
114114 - name : ' [production] 🔶 Publish to Cloudflare Pages'
115115 env :
116116 CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
117- CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
117+ CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
118118 run : npx --yes wrangler@latest pages --project-name="docs" --branch="main" deploy result
You can’t perform that action at this time.
0 commit comments