We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72c068e + ad17592 commit 70a4f39Copy full SHA for 70a4f39
.github/workflows/BuildApp.yaml
@@ -93,10 +93,16 @@ jobs:
93
shell: bash
94
run: aws eks update-kubeconfig --region us-east-1 --name development
95
96
- - name: Cat kubeconfig
97
- run: cat ${HOME}/.kube/config
+ - uses: actions-hub/kubectl@master
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
98
+ env:
99
+ KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
100
+ with:
101
+ args: get pods
102
103
- uses: actions-hub/kubectl@master
104
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
105
106
107
with:
108
args: set image deployment/tech-challenge-deployment tech-challenge-container=ghcr.io/${{ github.repository }}:${{ steps.short-sha.outputs.sha }}
0 commit comments