Skip to content

Update gh-pages.yml #99

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 13, 2025
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/setup-python@v2.2.1
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