Skip to content

Commit

Permalink
add github actions workflow to publish docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thrau committed Jul 19, 2024
1 parent c6f2cff commit 0c203a3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish Sphinx documentation to GitHub Pages

on:
push:
branches: [ main ] # branch to trigger deployment

jobs:
pages:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- id: deployment
uses: sphinx-notes/pages@v3

0 comments on commit 0c203a3

Please sign in to comment.