Skip to content

Change variable names (#654) #159

Change variable names (#654)

Change variable names (#654) #159

name: Publish the documentation
on:
push:
branches: [main]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout the branch
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Build the documentation with Sphinx
run: |
pip install -r requirements-doc.txt
sphinx-build -b html docs docs/build/html
- name: Publish the documentation
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build/html
CLEAN: true