We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa4f664 commit ca7ece1Copy full SHA for ca7ece1
1 file changed
docs/debugging.md
@@ -0,0 +1,15 @@
1
+## Production Deployment Failure Debugging Approach
2
+
3
+If production deployment fails after merge:
4
5
+1. Check GitHub Actions logs to identify failing stage
6
+2. SSH into Azure VM
7
+3. Verify Docker container status using `docker ps`
8
+4. Check container logs using `docker logs`
9
+5. Validate environment variables and port bindings
10
+6. Test application health endpoint locally inside VM
11
+7. Rollback to last working commit using `git revert`
12
+8. Rebuild Docker image and restart container
13
+9. Monitor logs after redeployment
14
15
+This structured approach minimizes downtime and ensures faster recovery.
0 commit comments