Skip to content

Commit 9ba1c24

Browse files
authored
Fix CI jobs (#17546)
1 parent d717b6a commit 9ba1c24

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/anchor-link-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
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

.github/workflows/publish-preview.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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 }}

.github/workflows/publish-production.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
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

0 commit comments

Comments
 (0)