Skip to content

Commit

Permalink
Github actions script.
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjrsa committed Feb 23, 2024
1 parent 7decafa commit 273d582
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy Sphinx documentation to Pages

on:
push:
branches: [github] # 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
with:
documentation_path: './docs/source'
requirements_path: './requirements.txt'

0 comments on commit 273d582

Please sign in to comment.