Skip to content

Merge pull request #97 from h2020charisma/fix-tests #76

Merge pull request #97 from h2020charisma/fix-tests

Merge pull request #97 from h2020charisma/fix-tests #76

Workflow file for this run

name: docs
on:
push:
branches: [ master, main ]
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pdoc
pip install tox
- name: Build docs
run: |
tox -e docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
#if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/
force_orphan: true