Update dependency documenteer to v1 #121
Workflow file for this run
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": | |
pull_request: | |
paths: | |
- ".github/workflows/docs.yaml" | |
- "docs/**" | |
push: | |
branches-ignore: | |
# These should always correspond to pull requests, so ignore them for | |
# the push trigger and let them be triggered by the pull_request | |
# trigger, avoiding running the workflow twice. This is a minor | |
# optimization so there's no need to ensure this is comprehensive. | |
- "dependabot/**" | |
- "renovate/**" | |
- "tickets/**" | |
- "u/**" | |
tags: | |
- "*" | |
paths: | |
- ".github/workflows/docs.yaml" | |
- "docs/**" | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Python install | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r docs/requirements.txt | |
python -m pip install "ltd-conveyor<2.0.0" | |
- name: Build | |
run: | | |
cd docs | |
make html | |
- name: Upload | |
if: ${{ github.event_name == 'push' }} | |
env: | |
LTD_PASSWORD: ${{ secrets.LTD_PASSWORD }} | |
LTD_USERNAME: ${{ secrets.LTD_USERNAME }} | |
run: | | |
ltd upload --gh --dir docs/_build/html --product roundtable |