From 4e21eb474088b02ec5c7c726a6afe3775dd0a56c Mon Sep 17 00:00:00 2001 From: Bernardo Guerreiro Date: Tue, 23 Jan 2024 13:49:32 +0000 Subject: [PATCH] refactor: try serverless deploy without auth --- .github/workflows/serverless-deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/serverless-deploy.yaml b/.github/workflows/serverless-deploy.yaml index 99c0305..df3ef7c 100644 --- a/.github/workflows/serverless-deploy.yaml +++ b/.github/workflows/serverless-deploy.yaml @@ -53,10 +53,10 @@ jobs: aws-region: eu-west-2 audience: sts.amazonaws.com role-to-assume: ${{ secrets.AWS_DEPLOYER_ROLE }} - # role-session-name: OIDCSession + role-session-name: OIDCSession mask-aws-account-id: true - - name: Serverless Authentication - run: npx serverless config credentials --provider aws --key ${{ env.AWS_ACCESS_KEY_ID }} --secret ${{ env.AWS_SECRET_ACCESS_KEY }} + # - name: Serverless Authentication + # run: npx serverless config credentials --provider aws --key ${{ env.AWS_ACCESS_KEY_ID }} --secret ${{ env.AWS_SECRET_ACCESS_KEY }} - name: serverless_deploy run: npm run deploy # env: