Skip to content

3.35.0

3.35.0 #54

Workflow file for this run

# build and release new docs as a release asset
name: Build Docs
on:
release:
types: [created]
jobs:
doc:
name: Build Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.12"
- name: Install CLI
run: |
python -m pip install -e .
- name: Generate Autodoc
run: |
./reference/_generate.py --debug
# bundle as tarball without the _generate.py script or .gitignore
# use `-h` to dereference the changelog link
tar --exclude "*.py" --exclude '.gitignore' -czf cli-reference.tar.gz -h reference/
# upload as a release asset
- name: Upload Autodoc
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: gh release upload "${{ github.ref_name }}" cli-reference.tar.gz