Skip to content

Commit

Permalink
fix: change aws region secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Lim-Changi committed Mar 17, 2024
1 parent 71b1b17 commit fb534fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/eks-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: KubeConfig
run: |
aws eks update-kubeconfig --name test-cluster --region ${{ env.AWS_REGION }} --kubeconfig ./kubeconfig
aws eks update-kubeconfig --name test-cluster --region ${{ secrets.AWS_REGION }} --kubeconfig ./kubeconfig
echo 'KUBE_CONFIG_DATA<<EOF' >> $GITHUB_ENV
echo $(cat ./kubeconfig | base64) >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
Expand All @@ -64,7 +64,7 @@ jobs:
helm version
kubectl version
kubectl cluster-info
helm upgrade test-cluster --install --wait --set image.tag=${{ github.sha }} --set image.repository="$ECR_REGISTRY/$ECR_REPOSITORY" --set service.port="8000" .devops/k8s/acon-k8s -n default
helm upgrade test-cluster --install --wait --set image.tag=${{ github.sha }} --set image.repository="$ECR_REGISTRY/ECR_REPOSITORY" --set service.port="8000" .devops/k8s/acon-k8s -n default
- name: Success
run: echo deployed successfully.
Expand Down

0 comments on commit fb534fe

Please sign in to comment.