Skip to content

Commit 5d4ccc8

Browse files
thdxropencode
andcommitted
Add GitHub Actions deployment workflow to automate deployments
🤖 Generated with opencode Co-Authored-By: opencode <noreply@opencode.ai>
1 parent 98b5390 commit 5d4ccc8

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- dontlook
7+
paths:
8+
- "app/**"
9+
10+
concurrency: ${{ github.workflow }}-${{ github.ref }}
11+
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- uses: oven-sh/setup-bun@v1
19+
with:
20+
bun-version: latest
21+
22+
- run: bun install
23+
working-directory: app
24+
25+
- run: bun sst deploy --stage=dev
26+
working-directory: app
27+
env:
28+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 commit comments

Comments
 (0)