Skip to content

Commit

Permalink
merge to main (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
nam20485 committed Feb 11, 2024
2 parents 460a8c5 + 6a522ad commit 121e3fd
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/deploy-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install AWS CLI
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
aws --version
- name: Configure AWS credentials
uses: aws-actions/[email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

# - name: Configure kubectl using Action
# uses: actions-hub/kubectl@master
# env:
# KUBE_CONFIG: ${{ secrets.KUBECONFIG }}
aws-region: ${{ env.AWS_REGION }}

- name: Configure kubectl via Secret Env
run: |
Expand All @@ -55,14 +57,7 @@ jobs:
kubectl config view
kubectl config get-contexts
kubectl config use-context eks-uswest2-cluster
kubectl version
- name: Install AWS CLI
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
aws --version
kubectl version
- name: Deploy to EKS
shell: pwsh
Expand Down

0 comments on commit 121e3fd

Please sign in to comment.