summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-27 14:29:36 -0400
committerDax Raad <[email protected]>2025-05-27 14:29:36 -0400
commit5d4ccc88830cea91e1c682cf259782931f934275 (patch)
tree4337fa9cbb3a99ca1fc65ffc7560e6f631e11a1d
parent98b5390a22e2dc07c94727e19aad19d8b71d5a4d (diff)
downloadopencode-5d4ccc88830cea91e1c682cf259782931f934275.tar.gz
opencode-5d4ccc88830cea91e1c682cf259782931f934275.zip
Add GitHub Actions deployment workflow to automate deployments
🤖 Generated with opencode Co-Authored-By: opencode <[email protected]>
-rw-r--r--.github/workflows/deploy.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
new file mode 100644
index 000000000..e8906910d
--- /dev/null
+++ b/.github/workflows/deploy.yml
@@ -0,0 +1,28 @@
+name: deploy
+
+on:
+ push:
+ branches:
+ - dontlook
+ paths:
+ - "app/**"
+
+concurrency: ${{ github.workflow }}-${{ github.ref }}
+
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+
+ - uses: oven-sh/setup-bun@v1
+ with:
+ bun-version: latest
+
+ - run: bun install
+ working-directory: app
+
+ - run: bun sst deploy --stage=dev
+ working-directory: app
+ env:
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}