ci(release): pass secrets to called workflow
This commit is contained in:
parent
e33547fe5d
commit
9630fd647f
2 changed files with 8 additions and 0 deletions
3
.github/workflows/cd.yml
vendored
3
.github/workflows/cd.yml
vendored
|
@ -35,3 +35,6 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
needs: release
|
needs: release
|
||||||
uses: ./.github/workflows/publish.yml
|
uses: ./.github/workflows/publish.yml
|
||||||
|
secrets:
|
||||||
|
GH_PAT: ${{ secrets.GH_PAT }}
|
||||||
|
BUILDER: ${{ secrets.BUILDER }}
|
||||||
|
|
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
|
@ -5,6 +5,11 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- docs
|
- docs
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
secrets:
|
||||||
|
GH_PAT:
|
||||||
|
required: true
|
||||||
|
BUILDER:
|
||||||
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
launch:
|
launch:
|
||||||
|
|
Loading…
Reference in a new issue