Skip to content

Commit 28ebefa

Browse files
committed
Fix CI jobs
1 parent 9159acf commit 28ebefa

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
@@ -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 }}

.github/workflows/publish-production.yml

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

0 commit comments

Comments
 (0)