Skip to content

CPC tutorial and documentation #309

CPC tutorial and documentation

CPC tutorial and documentation #309

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
pull_request:
branches:
- "*"
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: '3.10'
- name: Build
run: |
sudo apt-get install graphviz
pip install -r requirements-docs.txt
sphinx-build -b html docs/source docs/build/html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/build/html
BRANCH: gh-pages