Skip to content

Add .readthedocs.yaml. #60

Add .readthedocs.yaml.

Add .readthedocs.yaml. #60

Workflow file for this run

name: Deploy gh-pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt update
sudo apt install python3
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 -m pip install sphinx sphinx_rtd_theme
- name: Build
run: make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html
publish_branch: gh-pages
commit_message: ${{ github.event.head_commit.message }}