summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/deploy.yml
blob: 1f7a561f03d3f9f64b20d0dcc8a6dc7480849089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: deploy

on:
  push:
    branches:
      - dontlook
    paths:
      - "app/**"
  workflow_dispatch:

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 }}