Skip to content

Merge pull request #16 from nootr/dependabot/pip/black-24.3.0 #18

Merge pull request #16 from nootr/dependabot/pip/black-24.3.0

Merge pull request #16 from nootr/dependabot/pip/black-24.3.0 #18

Workflow file for this run

name: Publish documentation
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
working-directory: ./docs
- name: Build site
run: |
make build
working-directory: ./docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/site