docs/en_EN/infrastructure/Β· DevOps Overview
develop ββpushβββ CI Develop (Lint: Ruff + Mypy)
β
βββPRβββ main βββ CI Main (Tests + Docker Build Check)
β
βββtag (v*)βββ Deploy Production (Build β GHCR β Deploy)
Note: Production deployment now uses git tags instead of the release branch.
| Branch | Purpose | Protection |
|---|---|---|
develop |
Active development | CI lint on push |
main |
Stable code (production-ready) | PR only, CI tests required |
Production Deployment: Triggered by pushing tags matching v* pattern (e.g., v1.2.3)
| File | Trigger | Actions |
|---|---|---|
ci-develop.yml |
Push to develop | Ruff lint + Mypy type check |
ci-main.yml |
PR to main | Full pytest + Docker build check |
deploy-production-tag.yml |
Push tag v* |
Build images β GHCR β SSH deploy to VPS |
See docker.md for container architecture.
See github-secrets.md for required secrets configuration.
| File | Description |
|---|---|
| docker.md | Docker containers and compose architecture |
| github-secrets.md | GitHub repository secrets setup |
| branching.md | Git branching strategy |