Skip to content

Merge pull request #4 from buvis/renovate/actions-checkout-4.x #12

Merge pull request #4 from buvis/renovate/actions-checkout-4.x

Merge pull request #4 from buvis/renovate/actions-checkout-4.x #12

Workflow file for this run

name: Deploy Sphinx Documentation to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install Pipenv
run: pip install pipenv
- name: Install Dependencies
run: pipenv install --dev --ignore-pipfile
- name: Build and Deploy Sphinx Documentation
run: pipenv run sphinx-build -b html ./docs/source ./docs/build/html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: "./docs/build/html"