04fc8b4e0c
Replace all Blacksmith runner references with standard GitHub-hosted runners: - blacksmith-4vcpu-ubuntu-2404 → ubuntu-latest - blacksmith-4vcpu-ubuntu-2404-arm → ubuntu-24.04-arm - blacksmith-4vcpu-windows-2025 → windows-latest This enables GitHub Actions to run in the Kilo-Org fork which doesn't have access to Blacksmith runners.
33 lines
935 B
YAML
33 lines
935 B
YAML
name: deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
- production
|
|
workflow_dispatch:
|
|
|
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
jobs:
|
|
deploy:
|
|
# kilocode_change start - disabled for kilo-cli fork (OpenCode infrastructure deployment)
|
|
if: false
|
|
# kilocode_change end
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: ./.github/actions/setup-bun
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "24"
|
|
|
|
- run: bun sst deploy --stage=${{ github.ref_name }}
|
|
env:
|
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
PLANETSCALE_SERVICE_TOKEN_NAME: ${{ secrets.PLANETSCALE_SERVICE_TOKEN_NAME }}
|
|
PLANETSCALE_SERVICE_TOKEN: ${{ secrets.PLANETSCALE_SERVICE_TOKEN }}
|
|
STRIPE_SECRET_KEY: ${{ github.ref_name == 'production' && secrets.STRIPE_SECRET_KEY_PROD || secrets.STRIPE_SECRET_KEY_DEV }}
|