Commit 9c3cca5
authored
🚀 Release: beta → master (#60)
* fix(deploy): harden VPS paths and remove monorepo residue
- Standardize deploy root handling to DEPLOY_ROOT=
in deploy workflow and environment loader scripts
- Add fail-fast DEPLOY_ROOT directory guards in deploy paths
- Add mandatory deploy debug visibility (USER/HOME/PWD + ls of HOME/api)
to SSH deployment steps in deploy.yml
- Remove hardcoded DEPLOY_ROOT=/api in sync-infra and rollback jobs
- Keep env contract gate mandatory before deploy:
./scripts/validate-env.sh --check-monitoring
- Normalize rollback and observability docs to use C:\Users\rajas/api and api.conf
- Remove legacy apps/api and fieldtrack.conf references from tracked
source, docs, and rollback SQL comments
- Add optional safe legacy VPS repo cleanup in vps-setup.sh
(AUTO_CLEAN_LEGACY_REPO=true)
- Keep docker/network naming aligned: api-blue, api-green, api_network
* feat(deploy): ensure log directory exists with fallback to home directory1 parent 70e1dcb commit 9c3cca5
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
| |||
0 commit comments