File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,16 @@ jobs:
2626 node_modules/.astro/_astro
2727 node_modules/.astro/assets
2828 key : static
29- - run : npx astro build
29+ - run : npm run build
30+ name : Build
3031 env :
3132 NODE_OPTIONS : --max-old-space-size=4096
3233 - run : npx wrangler pages deploy --project-name cloudflare-docs dist
3334 name : Deploy to Cloudflare Pages
3435 env :
3536 CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3637 CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
37- - run : npm run build:worker && npx wrangler versions upload -c ./wrangler-workers.toml
38+ - run : npx wrangler versions upload -c ./wrangler-workers.toml
3839 name : Deploy to Cloudflare Workers
3940 env :
4041 CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
Original file line number Diff line number Diff line change 2222 node_modules/.astro/_astro
2323 node_modules/.astro/assets
2424 key : static
25- - run : npx astro build
25+ - run : npm run build
26+ name : Build
2627 env :
2728 NODE_OPTIONS : --max-old-space-size=4096
2829 - run : npx wrangler pages deploy --project-name cloudflare-docs dist
You can’t perform that action at this time.
0 commit comments