File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -204,11 +204,14 @@ jobs:
204
204
- name : Deploy to GKE
205
205
if : ${{ contains(github.ref, 'main') && github.event.pull_request.title != 'Feedback' && env.IS_GKE_CLUSTER_UP }}
206
206
run : |-
207
- deployments=("collab-service" "matching-service" "question-service" "user-service" "frontend")
208
- for dplymnt in "${deployments[@]}"; do
209
- kubectl -n peerprep rollout restart deployment "$dplymnt"
210
- done
211
-
207
+ service="${{ matrix.package }}"
208
+ deployment="frontend"
209
+ if [[ "$service" == "collaboration" ]]; then
210
+ deployment="collab-service"
211
+ else if [[ "$service" != "frontend" ]]; then
212
+ deployment="$service-service"
213
+ fi
214
+ kubectl -n peerprep rollout restart deployment $deployment
212
215
213
216
results :
214
217
if : ${{ always() && !github.event.pull_request.draft }}
You can’t perform that action at this time.
0 commit comments