There was an error while loading. Please reload this page.
1 parent 8b1c525 commit 3bc794bCopy full SHA for 3bc794b
1 file changed
.github/workflows/docfx_manual.yml
@@ -2,6 +2,11 @@ name: 'DocFx'
2
3
on:
4
workflow_dispatch:
5
+ inputs:
6
+ name:
7
+ description: 'The name to use for the documentation folder (defaults to the name of the current ref)'
8
+ type: 'string'
9
+ required: false
10
11
jobs:
12
docfx:
@@ -14,4 +19,8 @@ jobs:
14
19
uses: ./.github/workflows/docfx.yml
15
20
with:
16
21
target_branch: 'refdoc'
22
+ # An omitted input still arrives as an empty string, which would override
23
+ # the default declared in docfx.yml and target the refdoc root, so the
24
+ # fallback has to be applied here.
25
+ name: ${{ inputs.name || github.ref_name }}
17
26
secrets: 'inherit'
0 commit comments