Commit b208790
refactor: move Dockge deployment to dedicated workflow steps
Improves separation of concerns by handling Dockge deployment at the
workflow level rather than within deployment scripts.
Changes:
- Added 'Deploy Dockge' step before 'Deploy All Stacks' in deploy.yml
- Added 'Rollback Dockge' step before 'Rollback to Previous Version' in deploy.yml
- Removed --has-dockge parameter from deploy-stacks.sh and rollback-stacks.sh
- Removed internal Dockge deployment logic from both scripts
- Fixed health-check.sh SSH environment variable passing (env command)
Benefits:
- Cleaner separation of concerns (stacks vs Dockge)
- Explicit workflow visibility - Dockge shows as separate step in GitHub Actions UI
- Simpler deployment scripts focused solely on stack deployment
- Easier debugging with independent Dockge deployment status
- Consistent with modular architecture pattern
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 250b34e commit b208790
File tree
3 files changed
+65
-74
lines changed- .github/workflows
- scripts/deployment
3 files changed
+65
-74
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
486 | 499 | | |
487 | 500 | | |
488 | | - | |
| 501 | + | |
489 | 502 | | |
490 | 503 | | |
491 | 504 | | |
492 | 505 | | |
493 | | - | |
494 | 506 | | |
495 | 507 | | |
496 | 508 | | |
| |||
530 | 542 | | |
531 | 543 | | |
532 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
533 | 559 | | |
534 | 560 | | |
535 | | - | |
| 561 | + | |
536 | 562 | | |
537 | 563 | | |
538 | 564 | | |
| |||
541 | 567 | | |
542 | 568 | | |
543 | 569 | | |
544 | | - | |
545 | 570 | | |
546 | 571 | | |
547 | 572 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 36 | | |
42 | 37 | | |
43 | 38 | | |
| |||
98 | 93 | | |
99 | 94 | | |
100 | 95 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 96 | | |
117 | 97 | | |
118 | 98 | | |
119 | | - | |
| 99 | + | |
120 | 100 | | |
121 | 101 | | |
122 | 102 | | |
| |||
127 | 107 | | |
128 | 108 | | |
129 | 109 | | |
130 | | - | |
| 110 | + | |
131 | 111 | | |
132 | 112 | | |
133 | 113 | | |
134 | 114 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
143 | 118 | | |
144 | 119 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
152 | 137 | | |
153 | | - | |
154 | | - | |
155 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
156 | 142 | | |
157 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
158 | 147 | | |
159 | 148 | | |
160 | 149 | | |
| |||
170 | 159 | | |
171 | 160 | | |
172 | 161 | | |
173 | | - | |
174 | | - | |
175 | 162 | | |
176 | 163 | | |
177 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 36 | | |
42 | 37 | | |
43 | 38 | | |
| |||
106 | 101 | | |
107 | 102 | | |
108 | 103 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 104 | | |
125 | 105 | | |
126 | | - | |
| 106 | + | |
127 | 107 | | |
128 | 108 | | |
129 | 109 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
134 | 113 | | |
135 | 114 | | |
136 | 115 | | |
| |||
0 commit comments