Commit 0f5fbb2
committed
Fix hook scp error handling - show copy failures
Remove silent failure mode for hook script transfers:
- Pre-deploy hook: Error if scp fails (deployment stops)
- Post-deploy hook: Warn if scp fails (deployment continues)
- Show actual scp error output instead of hiding it
- Helps diagnose permission/connection issues during copy1 parent 43dc48b commit 0f5fbb2
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| |||
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
189 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
190 | 195 | | |
191 | 196 | | |
192 | 197 | | |
| |||
0 commit comments