Skip to content

Workflow file for this run

on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx sphinxcontrib-moderncmakedomain
- name: Build documentation
run: |
sphinx-build -M html Help/ _build/html
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./_build/html
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v1