Skip to content

Commit 0d20368

Browse files
authored
Merge pull request #531 from nextstrain/reduce-linkchecks
.github/docs: Only run linkcheck on scheduled runs
2 parents dd2bc45 + 1b90961 commit 0d20368

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ on:
44
push:
55
branches:
66
- master
7-
paths: &paths
8-
- doc/**
9-
- .github/workflows/docs.yaml
107

118
pull_request:
12-
paths: *paths
139

1410
workflow_dispatch:
1511

@@ -25,3 +21,4 @@ jobs:
2521
docs-directory: doc/
2622
pip-install-target: .[dev]
2723
make-target: dirhtml
24+
run-linkcheck: ${{ github.event_name == 'schedule' }}

0 commit comments

Comments
 (0)