docs/en_EN/infrastructure/devops/ยท README โ Branching
main (production via tags)
โโโ develop (active work)
โโโ feature/user-auth
โโโ feature/payments
โโโ fix/login-bug
Note: The release branch has been removed. Production releases now use git tags (e.g., v1.2.3).
1. Create feature branch from develop:
git checkout develop
git checkout -b feature/my-feature
2. Work on feature, commit, push
3. Create PR: feature/my-feature โ develop
- CI Develop runs (lint)
- Code review
- Merge
1. Create PR: develop โ main
- CI Main runs (full tests + docker build)
- Code review
- Merge
2. Create release tag:
git checkout main
git pull origin main
git tag -a v1.2.3 -m "Release 1.2.3: Description"
git push origin v1.2.3
3. GitHub Actions automatically:
- Builds Docker images
- Pushes to GHCR
- Deploys to production VPS
Full guide: Releases via Tags
| Branch | Direct Push | PR Required | CI Required | Deployment |
|---|---|---|---|---|
develop |
โ Yes | Optional | Lint on push | No |
main |
โ No | โ Yes | Tests must pass | Via tags only |
The project previously used a release branch for production deployments. This has been replaced with tag-based releases for:
Migration guide: MIGRATION_TO_TAGS.md