Skip to content

Update publish-docs.yml #11

Update publish-docs.yml

Update publish-docs.yml #11

Workflow file for this run

name: Publish Documentation
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Dependencies and Build Documentation
run: |
sudo apt-get install python3-sphinx
pip install sphinx-rtd-theme
cd docs
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build