Skip to content

Merge pull request #3 from Kiln-AI/claude/vibrant-ramanujan-w4nybl #9

Merge pull request #3 from Kiln-AI/claude/vibrant-ramanujan-w4nybl

Merge pull request #3 from Kiln-AI/claude/vibrant-ramanujan-w4nybl #9

Workflow file for this run

name: Deploy production
on:
push:
branches: [main]
concurrency:
group: deploy-production
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
environment: production
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run check
# Migrations apply before the deploy, so they must stay compatible with the running Worker.
- run: npx wrangler d1 migrations apply DB --remote --env production
- run: npx wrangler deploy --env production