Skip to content

Commit 2c817f3

Browse files
committed
Retry with automatic restarts
1 parent 089544d commit 2c817f3

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@ jobs:
5757
tags: ${{ steps.meta.outputs.tags }}
5858
labels: ${{ steps.meta.outputs.labels }}
5959

60-
# - name: Install kubectl
61-
# if: github.event_name != 'pull_request'
62-
# uses: azure/setup-kubectl@v3
60+
- name: Install kubectl
61+
if: github.event_name != 'pull_request'
62+
uses: azure/setup-kubectl@v3
6363

64-
# - name: Update Context
65-
# if: github.event_name != 'pull_request'
66-
# uses: azure/k8s-set-context@v1
67-
# with:
68-
# method: kubeconfig
69-
# kubeconfig: ${{ secrets.KUBE_CONFIG }}
64+
- name: Update Context
65+
if: github.event_name != 'pull_request'
66+
uses: azure/k8s-set-context@v1
67+
with:
68+
method: kubeconfig
69+
kubeconfig: ${{ secrets.KUBE_CONFIG }}
7070

71-
# - name: Restart deployment
72-
# if: github.event_name != 'pull_request'
73-
# run: |
74-
# kubectl rollout restart deployment/j26-infratest -n j26-infratest
71+
- name: Restart deployment
72+
if: github.event_name != 'pull_request'
73+
run: |
74+
kubectl rollout restart deployment/j26-infratest -n j26-infratest

0 commit comments

Comments
 (0)