Skip to content

Upversion to 2.2.0 (#14) #34

Upversion to 2.2.0 (#14)

Upversion to 2.2.0 (#14) #34

Workflow file for this run

name: PyVMCON documentation deployment workflow
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/checkout@v3
- name: Install PyVMCON with docs dependencies
run: pip install '.[docs]'
- name: Install pandoc
run: |
sudo apt-get update
sudo apt-get install -y pandoc
- name: Build Sphinx documentation
run: |
cd docs/
make html
cd ..
- name: Setup pages
uses: actions/configure-pages@v3
- name: Upload static HTML
uses: actions/upload-pages-artifact@v1
with:
path: "docs/build/html/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2