From c081263652e2628247848ecf14c7570200dcd75e Mon Sep 17 00:00:00 2001 From: Darren P <36205316+darpham@users.noreply.github.com> Date: Mon, 24 Jul 2023 05:44:59 -0700 Subject: [PATCH] deploy.yaml; dont login to eks twice (#203) --- .github/workflows/deploy.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 6fee41a3..8ee5b615 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -28,7 +28,6 @@ jobs: AWS_ECR_REPOSITORY: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-west-2.amazonaws.com/eimmigrate steps: - uses: actions/checkout@v3 - - run: echo "AWS_EKS_CLUSTER=shared-cluster-$(echo $DEPLOYMENT | cut -d'-' -f2)" >> $GITHUB_ENV - uses: aws-actions/configure-aws-credentials@v2 with: role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions @@ -36,6 +35,5 @@ jobs: aws-region: us-west-2 - id: login-ecr uses: aws-actions/amazon-ecr-login@v1 - - run: aws eks --region us-west-2 update-kubeconfig --name ${AWS_EKS_CLUSTER} - run: make deploy - run: make deploy-status