Skip to content

Commit

Permalink
Give deploy workflow id-token permission
Browse files Browse the repository at this point in the history
  • Loading branch information
samsimpson1 committed Feb 1, 2024
1 parent 4d74257 commit 206aed2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_GOVUK_ECR_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_GOVUK_ECR_SECRET_ACCESS_KEY }}
permissions:
id-token: write
trigger-deploy:
name: Trigger deploy to ${{ inputs.environment || 'integration' }}
needs: build-and-publish-image
Expand Down

0 comments on commit 206aed2

Please sign in to comment.