We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49d3297 commit 045315aCopy full SHA for 045315a
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,29 @@
1
+name: deploy
2
+
3
+on:
4
+ push:
5
+ branches: ["main"]
6
7
+permissions:
8
+ contents: read
9
10
+jobs:
11
+ deploy:
12
+ runs-on: ubuntu-latest
13
+ timeout-minutes: 15
14
+ concurrency:
15
+ group: deploy-${{ github.ref }}
16
+ cancel-in-progress: true
17
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: oven-sh/setup-bun@v2
21
+ with:
22
+ bun-version: 1.3.4
23
24
+ - run: bun install --frozen-lockfile
25
+ - run: bun run check
26
+ - run: bun astro build
27
+ - run: bun wrangler deploy --env live
28
+ env:
29
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
0 commit comments