Skip to content

Commit 7354150

Browse files
committed
Add CI/CD pipeline flow documentation
1 parent 9cbfc1f commit 7354150

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

docs/cicd.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## CI/CD Pipeline Flow
2+
3+
CI/CD is implemented using GitHub Actions.
4+
5+
### CI Flow
6+
7+
- Pipeline triggers on Pull Requests to `develop` and `main`
8+
- Dependencies are installed
9+
- Syntax validation is performed
10+
- Docker image build is tested
11+
- Container health endpoint is validated
12+
13+
If any step fails, the PR cannot be safely merged.
14+
15+
### CD Flow
16+
17+
- Push to `develop` triggers staging deployment
18+
- Push to `main` triggers production deployment
19+
- Deployment happens via SSH into Azure VM
20+
- Docker container is rebuilt and restarted
21+
22+
This ensures continuous delivery with minimal manual intervention.

0 commit comments

Comments
 (0)