Skip to content

Commit

Permalink
Add docs workflow file (for testing).
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-vm committed Aug 16, 2024
1 parent 0b46d80 commit 44914d6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and deploy documentation
on:
push:
branches:
- docs
jobs:
build-docs:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -e .[development]
- name: Build docs
run: cd docs && make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/build/html

0 comments on commit 44914d6

Please sign in to comment.