Skip to content

Create test_docs.yml #1

Create test_docs.yml

Create test_docs.yml #1

Workflow file for this run

name: docs
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out source
uses: actions/checkout@v3
- name: Install Sphinx dependencies
run: |
pip install -r ./docs/requirements.txt
- name: Build HTML
run: |
cd docs/
make html
- name: Deploy HTML to GitHub Pages
uses: peaceiris/[email protected]
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html