-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (36 loc) · 1.05 KB
/
trigger-docs.yml
File metadata and controls
39 lines (36 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Trigger Doc Publish
on:
workflow_call:
inputs:
workflow:
type: string
default: publish.yml
ref:
required: false
type: string
default: main
inputs:
required: false
type: string
default: "{}"
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Checkout trigger-docs.sh
uses: actions/checkout@v4
with:
repository: netfoundry/docusaurus-shared
sparse-checkout: unified-doc/scripts/trigger-docs.sh
sparse-checkout-cone-mode: false
path: docusaurus-shared
- name: Run trigger-docs.sh
run: ./docusaurus-shared/unified-doc/scripts/trigger-docs.sh
env:
GH_APP_ID: ${{ secrets.GH_APP_ID }}
GH_APP_KEY: ${{ secrets.GH_APP_KEY }}
GH_WORKFLOW: ${{ inputs.workflow }}
GH_REF: ${{ inputs.ref }}
GH_INPUTS: ${{ inputs.inputs }}
GH_REPO_OWNER: "netfoundry"
GH_REPO_NAME: "docusaurus-shared"