Skip to content

Update publish-docs.yml #14

Update publish-docs.yml

Update publish-docs.yml #14

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 documentation.
if: ${{ github.event_name == 'push' }}
uses: JamesIves/[email protected]
with:
branch: gh-pages
force: true
folder: docs/_build/html