- Runner now runs on oci (arm64) — docker/kubectl are local, no SSH needed - deploy-preview.py rewritten with subprocess (no os.system, no SSH) - deploy: build image, copy prod DB, create namespace, apply manifests - teardown: delete namespace + image - deploy-prod: build, push, rollout restart - Simplified all workflow files to just call the Python script - Deleted old hera-runner Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
309 B
YAML
17 lines
309 B
YAML
name: Deploy Production
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Unit tests
|
|
run: cd frontend && npm ci && npm run test:unit
|
|
|
|
- name: Deploy
|
|
run: python3 scripts/deploy-preview.py deploy-prod
|