summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-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 }}