Skip to content

fix(ci): ensure pip reqs are installed #10

fix(ci): ensure pip reqs are installed

fix(ci): ensure pip reqs are installed #10

Workflow file for this run

name: generate-docs
on:
push:
branches:
- main
workflow_run:
workflows:
- release-please
types:
- complete
permissions:
contents: write
pull-requests: write
jobs:
deploy:
runs-on: ubuntu-latest
name: docsgen
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Build docs
shell: bash
run: |
pip install myst-parser pydata-sphinx-theme sphinx-lua sphinx-press-theme sphinx
cat "$GITHUB_PATH"
echo "$PATH"
ls -la "$HOME/.local/bin" || true
pip show --files sphinx | grep 'bin'
python3 -m site --user-base
PATH="$PATH:$(python3 -m site --user-base)/bin" make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html