Skip to content

Commit

Permalink
GA deploy-docs: add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rici4kubicek committed Feb 8, 2025
1 parent b78351d commit 88a4ce4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deploy Sphinx Documentation

on: [push]

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install dependencies
run: |
pip install sphinx sphinx-rtd-theme
pip install -e .
- name: Build documentation
run: |
make -C docs html
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/build/html

0 comments on commit 88a4ce4

Please sign in to comment.