Skip to content

Commit

Permalink
Corrected documentation generation (#7)
Browse files Browse the repository at this point in the history
* Added packages

* cleaned up example

* Commit test

* Added pre-commit hooks

* Formatting

* Updated example

* Update package

* Added multilevel metadata test

* Bump version 0.1.8 -> 0.1.9

* Added mkdocstrings pip

* Added trigger

* Added handler

---------

Co-authored-by: Nicholas-Schaub <nicholas.j.schaub@gmail.com>
  • Loading branch information
bengtl and Nicholas-Schaub committed Jan 8, 2024
1 parent 87f18fd commit 20a04a7
Showing 1 changed file with 26 additions and 23 deletions.
49 changes: 26 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
name: ci
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install pillow cairosvg
- run: mkdocs gh-deploy --force
name: ci
on:
push:
branches:
- master
- main
- update-docs
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install pillow cairosvg
- run: pip install mkdocstrings
- run: pip install mkdocstrings-python
- run: mkdocs gh-deploy --force

0 comments on commit 20a04a7

Please sign in to comment.