try to fix build #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.10.6 | ||
- run: | | ||
pip install lazydocs mkdocs mkdocs-awesome-pages-plugin | ||
- run: | | ||
ls -al | ||
./build-docs.sh | ||
ls -al | ||
ls -al docs | ||
ls -al docs/docstrings | ||
python3 _transform_md_to_jsx.py | ||
- name: 'Save Generated Markdown' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: generated_docs | ||
path: ./docs/docstrings/sindri.jsx.md | ||
retention-days: 90 |