Skip to content

Commit

Permalink
ci: publish-docs.yml - pass secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
noritakaIzumi committed Nov 4, 2024
1 parent 6ce6287 commit 49ec349
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
secrets:
AWS_OIDC_ROLE_ARN:
required: true
AWS_S3_BUCKET:
required: true
AMPLIFY_APP_ID:
required: true

permissions:
contents: read
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
uses: ./.github/workflows/publish-docs.yml
secrets:
AWS_OIDC_ROLE_ARN: ${{ secrets.AWS_OIDC_ROLE_ARN }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AMPLIFY_APP_ID: ${{ secrets.AMPLIFY_APP_ID }}
permissions:
contents: read
id-token: write

0 comments on commit 49ec349

Please sign in to comment.