.github/workflows/sphinx.yml
name: Sphinx
on:
workflow_dispatch:
push:
jobs:
build-deploy:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: deployment
uses: yuanx749/auto-sphinx-page-action@main
with:
requirements: docs/requirements.txt