Files
PINA/.github/workflows/sphinx-build.yml
Nicola Demo 7182f35a85 minor updates (#82)
* new dev release
* github action architectures
2023-04-18 18:16:33 +02:00

27 lines
588 B
YAML

name: "Documentation Deploy"
on:
push:
tags:
- "*"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create the new documentation
uses: ammaraskar/sphinx-action@master
with:
pre-build-command: "python3 -m pip install .[docs]"
docs-folder: "docs/"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
#deploy_key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
publish_dir: ./docs/build/html
allow_empty_commit: true