File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - main
77 - develop
8+ - develop-docs
9+ workflow_dispatch :
810
911# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1012permissions :
@@ -23,22 +25,20 @@ jobs:
2325 environment :
2426 name : github-pages
2527 url : ${{ steps.deployment.outputs.page_url }}
28+
2629 runs-on : ubuntu-latest
30+
2731 steps :
2832 - name : Checkout
2933 uses : actions/checkout@v6
30- - name : Dotnet Setup
31- uses : actions/setup-dotnet@v5
32- with :
33- dotnet-version : 8.x
3434
35- - name : Run Doxygen to generate API docs
36- uses : mattnotmitt/doxygen-action@v1
35+ - name : Build documentation site
36+ uses :
devcontainers/[email protected] 3737 with :
38- doxyfile-path : ' ./Doxyfile '
39-
40- - run : dotnet tool update -g docfx
41- - run : docfx docfx.json
38+ configFile : .devcontainer/doc-builder/devcontainer.json
39+ runCmd : |
40+ doxygen Doxyfile
41+ docfx docfx.json
4242
4343 - name : Upload artifact
4444 uses : actions/upload-pages-artifact@v4
4747 path : ' _site'
4848
4949 - name : Deploy to GitHub Pages
50- if : github.ref == 'refs/heads/main'
50+ if : github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop-docs'
5151 id : deployment
5252 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments