Skip to content

Merge pull request #34 from ofloveandhate/feature/summer2024 #47

Merge pull request #34 from ofloveandhate/feature/summer2024

Merge pull request #34 from ofloveandhate/feature/summer2024 #47

Workflow file for this run

name: Sphinx build
on: push
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Build HTML
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs"
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
name: html-docs
path: docs/_build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html