add sphinx.yml workflow for testing #453

This commit is contained in:
tjex 2024-09-12 19:00:02 +02:00
parent 0787930ca5
commit 8f20ac8258

21
.github/workflows/sphinx.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Deploy Sphinx documentation
# NOTE: workflow uses this repo: https://github.com/sphinx-notes/pages
on:
push:
branches: [main] # branch to trigger deployment
jobs:
pages:
runs-on: ubuntu-20.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- id: deployment
uses: sphinx-notes/pages@v3