Skip to content

13 create a gallery

13 create a gallery #7

Workflow file for this run

name: Build docs
on:
push:
branches:
- main
- devel
pull_request:
branches:
- main
- devel
jobs:
build_docs:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Install Pandoc
run: |
sudo apt-get update
sudo apt-get install -y pandoc
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install ".[docs]"
- name: Build Sphinx documentation
run: |
cd docs/
make html
# - name: Upload built docs as artifact
# uses: actions/upload-artifact@v4
# with:
# name: html-docs
# path: docs/build/html/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html