Skip to content

Commit 4fb0696

Browse files
committed
Added EKS kubeconfig
1 parent 3aa390c commit 4fb0696

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build_deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
environment: dev
4848
steps:
4949
- uses: actions/checkout@v3
50+
- uses: tale/kubectl-action@v1
5051
- uses: aws-actions/configure-aws-credentials@v1
5152
with:
5253
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -55,9 +56,12 @@ jobs:
5556
- name: Login to ECR
5657
id: login-ecr
5758
uses: aws-actions/amazon-ecr-login@v1
58-
- name: Check AWS Account
59+
- name: Deploy to EKS
5960
run: |
6061
aws sts get-caller-identity
62+
aws eks update-kubeconfig --name eksdemo1 --region us-east-1
63+
kubectl get pods
64+
6165
6266
6367

0 commit comments

Comments
 (0)