File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1- name : Test documentation building (until it's moved to ReadTheDocs)
1+ name : Test documentation building, and publish report to GitHub Pages
22
33on :
44 push :
3535 run : |
3636 cd docs
3737 sphinx-build -n --keep-going -b html ./ ./_build/
38+ - name : Rename entry point of report to index.html
39+ run : |
40+ mv docs/quarto_report/quarto_report.html docs/quarto_report/index.html
41+ - name : Publish html report to github pages
42+ # Only publish a new static report upon a new release -> can be changed.
43+ if : startsWith(github.ref, 'refs/tags')
44+ uses : peaceiris/actions-gh-pages@v4
45+ with :
46+ github_token : ${{ secrets.GITHUB_TOKEN }}
47+ publish_dir : docs/quarto_report/
3848 # - name: save artifacts
3949 # uses: actions/upload-artifact@v4
4050 # with:
You can’t perform that action at this time.
0 commit comments