Skip to content

Commit

Permalink
Fixing deploy workflow OIDC auth
Browse files Browse the repository at this point in the history
  • Loading branch information
mayo committed Jun 12, 2024
1 parent 34a96c6 commit a57edb8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
branches:
- public-zola

permissions:
id-token: write

concurrency:
group: site-build-${{ github.ref_name }}
cancel-in-progress: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
name: ${{ inputs.artifact-name }}
path: public

- uses: aws-actions/configure-aws-credentials@v1
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_IAM_ROLE_GITHUB }}
role-session-name: GitHub-Action-Role
Expand Down

0 comments on commit a57edb8

Please sign in to comment.