diff --git a/.github/workflows/generalized-deploy.yaml b/.github/workflows/generalized-deploy.yaml index 2db93a31..d40f6c70 100644 --- a/.github/workflows/generalized-deploy.yaml +++ b/.github/workflows/generalized-deploy.yaml @@ -10,15 +10,16 @@ jobs: push: name: Invoke Challenge By Pass Docker Build Pipeline runs-on: ubuntu-latest + permissions: + id-token: write + contents: read steps: - name: Checkout uses: actions/checkout@v2 - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 with: - aws-access-key-id: ${{ secrets.GDBP_AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.GDBP_AWS_SECRET_ACCESS_KEY }} + role-to-assume: ${{ secrets.GDBP_AWS_IAM_ROLE_ARN }} aws-region: us-west-2 - commit: ${{ github.sha }} - name: Challenge Bypass Server Deployments - uses: brave-intl/general-docker-build-pipeline-action@v1.0.9 \ No newline at end of file + uses: brave-intl/general-docker-build-pipeline-action@v1.0.9