Skip to content

Commit 897686f

Browse files
authored
test4
1 parent 0688d84 commit 897686f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/BuildApp.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ jobs:
102102
kubectl config use-context arn:aws:eks:us-east-1:637423374452:cluster/development
103103
kubectl get nodes
104104
105-
- uses: actions-hub/kubectl@master
106-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
107-
with:
108-
args: apply ./deploy/k8s/
109-
110105
# - uses: actions-hub/kubectl@master
111-
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
112-
# env:
113-
# KUBE_TOKEN: ${{ secrets.KUBE_TOKEN }}
114-
# KUBE_HOST: ${{ secrets.KUBE_HOST }}
106+
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
115107
# with:
116-
# args: set image deployment/tech-challenge-deployment tech-challenge-container=ghcr.io/${{ github.repository }}:${{ steps.short-sha.outputs.sha }}
108+
# args: apply ./deploy/k8s/
109+
110+
- uses: actions-hub/kubectl@master
111+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
112+
env:
113+
KUBE_TOKEN: ${{ secrets.KUBE_TOKEN }}
114+
KUBE_HOST: ${{ secrets.KUBE_HOST }}
115+
with:
116+
args: set image deployment/tech-challenge-deployment tech-challenge-container=ghcr.io/${{ github.repository }}:${{ steps.short-sha.outputs.sha }}

0 commit comments

Comments
 (0)