We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0af301a commit ee3a3d3Copy full SHA for ee3a3d3
.github/workflows/build-and-publish.yml
@@ -56,3 +56,19 @@ jobs:
56
push: ${{ github.event_name != 'pull_request' }}
57
tags: ${{ steps.meta.outputs.tags }}
58
labels: ${{ steps.meta.outputs.labels }}
59
+
60
+ - name: Install kubectl
61
+ if: github.event_name != 'pull_request'
62
+ uses: azure/setup-kubectl@v3
63
64
+ - name: Update Context
65
66
+ uses: azure/k8s-set-context@v1
67
+ with:
68
+ method: kubeconfig
69
+ kubeconfig: ${{ secrets.KUBE_CONFIG }}
70
71
+ - name: Restart deployment
72
73
+ run: |
74
+ kubectl rollout restart deployment/j26-infratest -n j26-infratest
0 commit comments