Some checks are pending
Extracted from oil project — business logic removed, auth/db/deploy infrastructure generalized with APP_NAME placeholders. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
471 B
YAML
23 lines
471 B
YAML
name: Deploy Production
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: test
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Unit tests
|
|
run: cd frontend && npm ci && npx vitest run
|
|
- name: Build check
|
|
run: cd frontend && npm run build
|
|
|
|
deploy:
|
|
needs: test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Deploy Production
|
|
run: python3 scripts/deploy-preview.py deploy-prod
|