Skip to content

gha: use ubuntu-24.04 runners (#4437) #9

gha: use ubuntu-24.04 runners (#4437)

gha: use ubuntu-24.04 runners (#4437) #9

Workflow file for this run

---
# Sync RTD redirects
name: redirects
"on":
push:
branches:
- main
paths:
- docs/redirects.yml
- .github/workflows/redirects.yml
# Manually triggered using GitHub's UI
workflow_dispatch:
jobs:
docs:
environment: release
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Upgrade Python toolchain
run: python3 -m pip install --upgrade pip setuptools wheel
- name: Install readthedocs-cli
run: python3 -m pip install readthedocs-cli
- name: Sync redirects
run: rtd projects ansible-lint redirects sync -f docs/redirects.yml --wet-run
env:
RTD_TOKEN: ${{ secrets.RTD_TOKEN }}