Skip to content

Update actions/checkout action to v4 #105

Update actions/checkout action to v4

Update actions/checkout action to v4 #105

Workflow file for this run

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@v4
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 linkcheck
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