Skip to content

Commit

Permalink
Install package to build docstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburbulla committed Nov 21, 2023
1 parent fa29a20 commit 55d6a40
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: docs
name: Documentation

on:
push:
branches:
- main
branches: [main]
pull_request:
branches: [main]

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -16,7 +20,7 @@ jobs:
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v4
with:
python-version: 3.x
python-version: 3.11
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
Expand All @@ -25,4 +29,5 @@ jobs:
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material mkdocstrings
- run: pip install -e .
- run: mkdocs gh-deploy --force

0 comments on commit 55d6a40

Please sign in to comment.