Skip to content

Trigger rebuild

Trigger rebuild #2

Workflow file for this run

name: documentation
on:
push:
branches:
- main # or your main branch
pull_request:
branches:
- main # or your main branch
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Sphinx build
run: |
cd docs
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main' # or your main branch
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html