Skip to content

Commit

Permalink
Allow triggering docs deploy manually
Browse files Browse the repository at this point in the history
  • Loading branch information
lkubb committed Oct 18, 2024
1 parent 3dc6d92 commit c50274e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy-docs-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,19 @@ on:
type: string
required: false
default: html-docs
workflow_dispatch:

jobs:
docs:
name: Render Docs
if: github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/docs-action.yml

Deploy-Docs-GH-Pages:
name: Publish Docs to GitHub Pages
needs:
- docs
if: github.event_name != 'workflow_dispatch' || success()

environment:
name: github-pages
Expand Down

0 comments on commit c50274e

Please sign in to comment.