mirror of
https://github.com/sst/opencode.git
synced 2025-07-07 16:14:59 +00:00
26 lines
483 B
YAML
26 lines
483 B
YAML
name: deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
- production
|
|
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: 1.2.17
|
|
|
|
- run: bun install
|
|
|
|
- run: bun sst deploy --stage=${{ github.ref_name }}
|
|
env:
|
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|