Skip to content

Merge pull request #155 from wilhelm-lab/dependabot/github_actions/de… #631

Merge pull request #155 from wilhelm-lab/dependabot/github_actions/de…

Merge pull request #155 from wilhelm-lab/dependabot/github_actions/de… #631

Workflow file for this run

name: Build Documentation
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check out source-code repository
- name: Setup Python
uses: actions/setup-python@v5.3.0
with:
python-version: 3.9
- name: Install pip
run: |
python -m pip install --upgrade pip
- name: Install doc dependencies
run: |
pip install -r docs/requirements.txt
- name: Build docs
run: |
cd docs
make html
- name: Deploy
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'}}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html