Skip to content

Release 1.0.1 (#154) #98

Release 1.0.1 (#154)

Release 1.0.1 (#154) #98

Workflow file for this run

name: github pages
on:
push:
branches:
- main
- test-docs
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: pip
cache-dependency-path: requirements.txt
- name: Upgrade pip
run: |
# install pip=>20.1 to use "pip cache dir"
python -m pip install --upgrade pip
- name: Install dependencies
run: python -m pip install -r ./requirements.txt
- run: |
cd docs
make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html