Skip to content

Commit 44b218f

Browse files
committed
🎨 publish report to gh_pages branch
1 parent 5c1dad4 commit 44b218f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test documentation building (until it's moved to ReadTheDocs)
1+
name: Test documentation building, and publish report to GitHub Pages
22

33
on:
44
push:
@@ -35,6 +35,14 @@ jobs:
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+
uses: peaceiris/actions-gh-pages@v4
43+
with:
44+
github_token: ${{ secrets.GITHUB_TOKEN }}
45+
publish_dir: docs/quarto_report/
3846
# - name: save artifacts
3947
# uses: actions/upload-artifact@v4
4048
# with:

0 commit comments

Comments
 (0)