From 9165e6abb299d4f2166abf80ebbe6216f2753cc1 Mon Sep 17 00:00:00 2001 From: Paul Toffoloni Date: Sun, 23 Jun 2024 17:15:08 +0200 Subject: [PATCH] Fix CI --- .github/workflows/pr.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index c2ffc59..69efa98 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -11,16 +11,14 @@ jobs: build: name: Build and Deploy PR runs-on: ubuntu-latest - permissions: { id-token: write, contents: read } - env: - AWS_DEFAULT_REGION: eu-west-2 steps: - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 if: ${{ github.event.pull_request.head.repo.full_name == 'vapor/website' && github.actor != 'dependabot[bot]' }} with: - role-to-assume: ${{ vars.OIDC_ROLE_ARN }} - aws-region: ${{ vars.OIDC_ROLE_REGION }} + aws-access-key-id: ${{ secrets.SITE_DEPLOYER_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.SITE_DEPLOYER_ACCESS_KEY_SECRET }} + aws-region: eu-west-2 - name: Checkout code uses: actions/checkout@v4 - name: Set up Python