Skip to content

dev: Use centralized sync-rtd-redirects workflow #7

dev: Use centralized sync-rtd-redirects workflow

dev: Use centralized sync-rtd-redirects workflow #7

Workflow file for this run

name: Sync RTD redirects
on:
push:
branches:
- master
paths:
- docs/redirects.yaml
- .github/workflows/sync-redirects.yaml
pull_request:
paths:
- docs/redirects.yaml
- .github/workflows/sync-redirects.yaml
# Manually triggered using GitHub's UI
workflow_dispatch:
jobs:
sync:
# Prevent this job from running on forks.
if: github.repository_owner == 'nextstrain'
name: rtd redirects
uses: nextstrain/.github/.github/workflows/sync-rtd-redirects.yaml@master
with:
project: nextstrain-ncov
file: docs/redirects.yaml
secrets:
RTD_TOKEN: ${{ secrets.RTD_TOKEN }}