Skip to content

Commit

Permalink
Merge pull request #483 from TimeWarpEngineering/Cramer/2024-10-16/CI-CD
Browse files Browse the repository at this point in the history
docs: Update publish-documentation workflow to check for _site directory
  • Loading branch information
StevenTCramer authored Oct 17, 2024
2 parents fff40b9 + 8619497 commit 6c7f475
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ jobs:
run: dotnet tool run docfx docfx.json
continue-on-error: false

- name: Check if _site directory was generated
run: |
if (!(Test-Path -Path './Documentation/_site')) {
throw "DocFX did not generate the _site directory. Aborting!"
}
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
Expand Down

0 comments on commit 6c7f475

Please sign in to comment.