Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Checkout repository (with submodules)
uses: actions/checkout@v3
with:
context: .
submodules: recursive
fetch-depth: 0

- name: Set up Python
uses: actions/[email protected]
with:
context: .
python-version: 3.9

- name: Install sphinx
run: |
pip install sphinx
Expand All @@ -36,12 +37,14 @@ jobs:
pip install sphinx-favicon
pip install sphinxcontrib.bibtex
pip install sphinx-tabs

- name: Build
run: |
cd docs/sphinx/
make clean
make html
cp source/index_replace.html build/html/index.html

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
Loading