We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373c25f commit c18f3b7Copy full SHA for c18f3b7
1 file changed
.github/workflows/book.yml
@@ -2,6 +2,12 @@ name: Book
2
3
on:
4
workflow_call:
5
+ inputs:
6
+ combine:
7
+ description: Combine book outputs.
8
+ type: boolean
9
+ required: false
10
+ default: true
11
12
permissions:
13
contents: read
@@ -60,9 +66,15 @@ jobs:
60
66
working-directory: book
61
67
62
68
- name: Combine Book Outputs
69
+ if: ${{ inputs.combine == 'true' }}
63
70
run: mdbook-trunk combine
64
71
65
72
73
+ - name: Copy Book Output
74
+ if: ${{ inputs.combine == 'false' }})
75
+ run: rm -rf dist && cp -r book dist
76
+ working-directory: book
77
+
78
- name: Upload artifact
79
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
80
with:
0 commit comments