Skip to content

Commit

Permalink
Fix CI jobs (#17546)
Browse files Browse the repository at this point in the history
  • Loading branch information
GregBrimble authored Oct 15, 2024
1 parent d717b6a commit 9ba1c24
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/anchor-link-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- run: npm ci

- run: npx astro build
- run: npm run build
env:
NODE_OPTIONS: "--max-old-space-size=4192"

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ jobs:
path: |
node_modules/.astro
key: static
- run: npx astro build
- run: npm run build
name: Build
env:
NODE_OPTIONS: --max-old-space-size=4096
- run: npx wrangler pages deploy --project-name cloudflare-docs dist
name: Deploy to Cloudflare Pages
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- run: npm run build:worker && npx wrangler versions upload -c ./wrangler-workers.toml
- run: npx wrangler versions upload -c ./wrangler-workers.toml
name: Deploy to Cloudflare Workers
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
path: |
node_modules/.astro
key: static
- run: npx astro build
- run: npm run build
name: Build
env:
NODE_OPTIONS: --max-old-space-size=4096
- run: npx wrangler pages deploy --project-name cloudflare-docs dist
Expand Down

0 comments on commit 9ba1c24

Please sign in to comment.