Skip to content

Commit 83ec1e8

Browse files
committed
(build) enable docs publishing manual trigger
1 parent 8f07380 commit 83ec1e8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/docs.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Verify & Publish Documentation
22

33
on:
4+
workflow_dispatch:
45
push:
56
paths:
67
- 'docs/**'
@@ -27,7 +28,12 @@ jobs:
2728
directory: ./artifacts/Documentation
2829
arguments: --url-ignore /api/ --allow-hash-href --assume-extension --disable-external
2930

30-
- name: '[Publish]'
31-
if: ${{ github.event_name == 'push' }}
31+
- name: '[Publish Documentation]'
32+
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
3233
shell: pwsh
3334
run: ./build.ps1 -target Publish-Documentation
35+
36+
- name: '[Publish Documentation]'
37+
if: ${{ github.event_name == 'workflow_dispatch' }}
38+
shell: pwsh
39+
run: ./build.ps1 -target Force-Publish-Documentation

0 commit comments

Comments
 (0)