Skip to content

Update documentation.yaml #10

Update documentation.yaml

Update documentation.yaml #10

Workflow file for this run

name: Docs
on: [push, pull_request]
# Allows you to run this workflow manually from the Actions tab
#workflow_dispatch:
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme
- name: Sphinx build
run: |
#sphinx-build docs/source _build
cd docs
make html
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: './docs/build/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1