ci(release): pass secrets to called workflow

This commit is contained in:
Cotes Chung 2024-05-12 07:35:58 +08:00
parent e33547fe5d
commit 9630fd647f
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
2 changed files with 8 additions and 0 deletions

View file

@ -35,3 +35,6 @@ jobs:
publish:
needs: release
uses: ./.github/workflows/publish.yml
secrets:
GH_PAT: ${{ secrets.GH_PAT }}
BUILDER: ${{ secrets.BUILDER }}

View file

@ -5,6 +5,11 @@ on:
branches:
- docs
workflow_call:
secrets:
GH_PAT:
required: true
BUILDER:
required: true
jobs:
launch: