Skip to content

Commit

Permalink
Add docs publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
malmeloo authored Jan 4, 2024
1 parent eb92662 commit 8c52c19
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Upload Python Package

on:
workflow_dispatch:
push:

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

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

- name: Install dependencies
run: |
python -m pip install poetry
poetry config virtualenvs.in-project true
poetry install
- name: Build documentation
run: |
cd docs
make html
- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/_build/html/'

0 comments on commit 8c52c19

Please sign in to comment.