Skip to content

v0.1.0a21

v0.1.0a21 #19

Workflow file for this run

name: Generate Docs
# Generate Docs and save as an artifact file
# - only on tags that start with `v`
on:
release:
types: [published]
jobs:
generate-docs:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.10.6
- name: Install poetry
run: pip install poetry
- name: Install Dependencies
run: poetry install
- run: |
TAG=${{ github.ref_name }} poetry run ./build-docs.sh
- name: 'Save Generated Markdown'
uses: actions/upload-artifact@v3
with:
name: generated_docs
path: ./docs/docstrings/*
retention-days: 90