Skip to content

Commit 39a85d3

Browse files
committed
add .github/workflows/deploy.yml
1 parent f627277 commit 39a85d3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: deploy
2+
on:
3+
push:
4+
branches:
5+
- trunk
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
environment: github-proxy-prod
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: oven-sh/setup-bun@v2
14+
- uses: actions/cache@v4
15+
id: cache-packages
16+
with:
17+
path: |
18+
~/.bun/install/cache
19+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
20+
21+
- run: bun install --frozen-lockfile
22+
- run: bun run deploy
23+
env:
24+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
25+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 commit comments

Comments
 (0)