Skip to content

Commit

Permalink
Trigger publish on repo dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tides committed Nov 26, 2024
1 parent 7fd3b72 commit 2567a40
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: .NET Docs
on:
repository_dispatch:
types: [trigger-workflow]
workflow_dispatch:
push:
paths:
- "./**"
- "./dockfx.json"
- "toc.yml"
- "./**/*.md"

env:
DOTNET_NOLOGO: true
Expand All @@ -25,7 +29,7 @@ jobs:
run: dotnet tool update -g docfx
continue-on-error: true
- name: Build Obsidian
run: dotnet build ./_obsidian/Obsidian.API/ -c Release
run: dotnet build ./_obsidian/Obsidian.API/ -c Release
- name: Build documentation
run: docfx ./docfx.json
- name: Upload GitHub Pages artifact
Expand Down

0 comments on commit 2567a40

Please sign in to comment.