Skip to content

fix: fix ubuntu version #66

fix: fix ubuntu version

fix: fix ubuntu version #66

Workflow file for this run

name: Github Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Setup dependencies
run: |
pip install -r requirements.txt
- name: Build
run: |
sphinx-build -b html ./ _build/html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/html
force_orphan: true