Skip to content

Commit a12020b

Browse files
committed
si: inherit secrets when using composite-docs
1 parent 8cd51ae commit a12020b

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
Docs:
1111
uses: ./.github/workflows/composite-docs.yml
12+
secrets: inherit
1213
with:
1314
ref: 'main'
1415
target-directory: 'book/unstable'

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ jobs:
3636
docs-latest:
3737
needs: [release]
3838
uses: ./.github/workflows/composite-docs.yml
39+
secrets: inherit
3940
with:
4041
ref: v${{ inputs.version }}
4142
target-directory: 'book/latest'
4243

4344
docs-versioned:
4445
needs: [release]
4546
uses: ./.github/workflows/composite-docs.yml
47+
secrets: inherit
4648
with:
4749
ref: v${{ inputs.version }}
4850
target-directory: book/{{ inputs.version }}

0 commit comments

Comments
 (0)