File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3636
3737 - run : npm ci
3838
39- - run : npx astro build
39+ - run : npm run build
4040 env :
4141 NODE_OPTIONS : " --max-old-space-size=4192"
4242
Original file line number Diff line number Diff line change @@ -25,15 +25,16 @@ jobs:
2525 path : |
2626 node_modules/.astro
2727 key : static
28- - run : npx astro build
28+ - run : npm run build
29+ name : Build
2930 env :
3031 NODE_OPTIONS : --max-old-space-size=4096
3132 - run : npx wrangler pages deploy --project-name cloudflare-docs dist
3233 name : Deploy to Cloudflare Pages
3334 env :
3435 CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3536 CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
36- - run : npm run build:worker && npx wrangler versions upload -c ./wrangler-workers.toml
37+ - run : npx wrangler versions upload -c ./wrangler-workers.toml
3738 name : Deploy to Cloudflare Workers
3839 env :
3940 CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
Original file line number Diff line number Diff line change 2121 path : |
2222 node_modules/.astro
2323 key : static
24- - run : npx astro build
24+ - run : npm run build
25+ name : Build
2526 env :
2627 NODE_OPTIONS : --max-old-space-size=4096
2728 - run : npx wrangler pages deploy --project-name cloudflare-docs dist
You can’t perform that action at this time.
0 commit comments