diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index a50c44e..1b048cb 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -20,7 +20,7 @@ jobs: - uses: aws-actions/setup-sam@v2 - uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }} + role-to-assume: ${{ secrets.AWS_OIDC_PRODUCTION_ROLE_ARN }} aws-region: eu-west-2 - run: sam build --use-container -m requirements/base.txt - run: > diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6bbb75f..370def2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: - uses: aws-actions/setup-sam@v2 - uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }} + role-to-assume: ${{ secrets.AWS_OIDC_STAGING_ROLE_ARN }} aws-region: eu-west-2 - run: sam build --use-container -m requirements/base.txt - run: >