Skip to content

Commit 4131e7b

Browse files
committed
Deploy on main.
1 parent e83be60 commit 4131e7b

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: deploy
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: oven-sh/setup-bun@v2
14+
with:
15+
bun-version: 1.3.4
16+
17+
- run: bun install --frozen-lockfile
18+
- run: bun run check
19+
- run: bun astro build
20+
- run: bun wrangler deploy --env live
21+
env:
22+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 commit comments

Comments
 (0)