Skip to content

Commit

Permalink
Pass secrets to techdocs publish CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jan 9, 2025
1 parent dadd6df commit 7da1b33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/_techdocs_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Techdocs Publish

on:
workflow_call:
secrets:
AWS_ACCESS_KEY_ID:
required: true
AWS_SECRET_ACCESS_KEY:
required: true

jobs:
publish:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ jobs:
needs:
- docs_lint
- docs_build
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.TECHDOCS_S3_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.TECHDOCS_S3_SECRET_ACCESS_KEY }}
uses: ./.github/workflows/_techdocs_publish.yaml

pages_build:
Expand Down

0 comments on commit 7da1b33

Please sign in to comment.