Skip to content

Commit

Permalink
(build) enable docs publishing manual trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Mar 23, 2021
1 parent 8f07380 commit 83ec1e8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Verify & Publish Documentation

on:
workflow_dispatch:
push:
paths:
- 'docs/**'
Expand All @@ -27,7 +28,12 @@ jobs:
directory: ./artifacts/Documentation
arguments: --url-ignore /api/ --allow-hash-href --assume-extension --disable-external

- name: '[Publish]'
if: ${{ github.event_name == 'push' }}
- name: '[Publish Documentation]'
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
shell: pwsh
run: ./build.ps1 -target Publish-Documentation

- name: '[Publish Documentation]'
if: ${{ github.event_name == 'workflow_dispatch' }}
shell: pwsh
run: ./build.ps1 -target Force-Publish-Documentation

0 comments on commit 83ec1e8

Please sign in to comment.