Skip to content

Commit 045315a

Browse files
authored
Deploy on main. (#76)
1 parent 49d3297 commit 045315a

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)