Commit ad2bc0d
committed
fix: Handle divergent branches in deployment workflow
Replace 'git pull' with 'git fetch + git reset --hard' to ensure
deployment always syncs to remote main branch, even when local
repo has divergent commits.1 parent 4a3f145 commit ad2bc0d
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments