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:
|
||||
needs: release
|
||||
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:
|
||||
- docs
|
||||
workflow_call:
|
||||
secrets:
|
||||
GH_PAT:
|
||||
required: true
|
||||
BUILDER:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
launch:
|
||||
|
|
Loading…
Reference in a new issue