Skip to content

Commit aee7ce5

Browse files
authored
test4
1 parent 897686f commit aee7ce5

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/BuildApp.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,9 @@ jobs:
9494
# run: aws eks update-kubeconfig --region us-east-1 --name development
9595

9696
- name: get KubeConfig
97-
shell: bash
98-
run: |
99-
aws eks update-kubeconfig --region us-east-1 --name development > KUBE_CONFIG
100-
export KUBE_CONFIG=$KUBE_CONFIG >> $GITHUB_ENV
101-
kubectl config get-contexts
102-
kubectl config use-context arn:aws:eks:us-east-1:637423374452:cluster/development
103-
kubectl get nodes
97+
uses: actions-hub/kubectl@master
98+
with:
99+
args: get nodes
104100

105101
# - uses: actions-hub/kubectl@master
106102
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)