Skip to content

Setup.py requires python3.9+ (#1046) #12

Setup.py requires python3.9+ (#1046)

Setup.py requires python3.9+ (#1046) #12

Workflow file for this run

name: Build and Deploy Sphinx Documentation
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install sphinx sphinx_rtd_theme myst-parser
- name: Build Documentation
run: |
cd .sphinx
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.sphinx/docs/html