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 734f377 commit 6ce6287
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Publish documentation

on:
workflow_call:
secrets:
AWS_OIDC_ROLE_ARN:
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 @@ -38,6 +38,8 @@ jobs:
publish-docs:
needs: check-tag-name-exists
uses: ./.github/workflows/publish-docs.yml
secrets:
AWS_OIDC_ROLE_ARN: ${{ secrets.AWS_OIDC_ROLE_ARN }}
permissions:
contents: read
id-token: write

0 comments on commit 6ce6287

Please sign in to comment.