Skip to content

Commit 9445af1

Browse files
authored
on [push, workflow_dispatch]
1 parent a85cee4 commit 9445af1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,16 @@ jobs:
3636
node_modules/.astro/_astro
3737
node_modules/.astro/assets
3838
key: static
39+
- run: npm run build
40+
name: Build
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
NODE_OPTIONS: --max-old-space-size=4096
3944
env:
4045
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4146
- run: npm run build:worker && npx wrangler versions upload -c ./wrangler-workers.toml
4247
if: github.ref != 'refs/heads/production'
43-
name: Deploy to Cloudflare Workers [preview]
48+
name: Deploy to Cloudflare Workers
4449
env:
4550
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4651
- uses: actions/cache/save@v4

0 commit comments

Comments
 (0)