Skip to content

Commit f4d5845

Browse files
author
Courtyard10
authored
Update and rename .github/workflows/publish-production.yml to publish-production.yml
1 parent 1934d74 commit f4d5845

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
name: Publish
2-
on:
1+
+name: Publish
2+
+none
33
push:
44
branches:
5-
- production
5+
+ production
66

77
jobs:
88
publish:
9-
name: Production
10-
runs-on: ubuntu-22.04
9+
+name: Production
10+
+runs-on: ubuntu-22.04
1111
permissions:
12-
contents: read
12+
+ contents: read
1313
steps:
14-
- uses: actions/checkout@v4
14+
+ uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717
- uses: actions/setup-node@v4
@@ -21,7 +21,7 @@ jobs:
2121
- run: npm ci
2222
- uses: actions/cache/restore@v4
2323
with:
24-
path: |
24+
+ path: |
2525
node_modules/.astro
2626
key: static
2727
- run: npm run build
@@ -30,11 +30,12 @@ jobs:
3030
NODE_OPTIONS: --max-old-space-size=4096
3131
- run: npx wrangler deploy
3232
name: Deploy to Cloudflare Workers
33-
env:
33+
+ env:
3434
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3535
- uses: actions/cache/save@v4
3636
if: always()
3737
with:
3838
path: |
3939
node_modules/.astro
4040
key: static
41+
=====================================================================================================================

0 commit comments

Comments
 (0)