Skip to content

Merge branch 'main' of github.com:buvis/scripts #14

Merge branch 'main' of github.com:buvis/scripts

Merge branch 'main' of github.com:buvis/scripts #14

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@v5
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"