Skip to content

Merge pull request #191 from h2020charisma/spc-multimap #152

Merge pull request #191 from h2020charisma/spc-multimap

Merge pull request #191 from h2020charisma/spc-multimap #152

Workflow file for this run

---
name: docs
on: # yamllint disable-line rule:truthy
push:
branches:
- main
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.11'
- 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/[email protected]
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/
force_orphan: true