Commit 63bbc5b
fix(ci): use git reset --hard for deploy and remove orphan containers
- git pull fails when deploy.sh has modified tracked files (sed on nginx.conf)
- git reset --hard origin/main is safe since .env/credentials are untracked
- --remove-orphans cleans up old Docker nginx/certbot containers
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 70d7e82 commit 63bbc5b
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
90 | 91 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments