Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit e83cc13

Browse files
committed
Move link checking to its own scheduled workflow
1 parent 7f9d1af commit e83cc13

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/docs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
with:
2929
pipenv-run: docs
3030

31-
- name: Check links resolve
32-
run: pipenv run docs -b linkcheck
33-
3431
- name: Move to versioned directory
3532
# e.g. master or 0.1.2
3633
run: mv build/html ".github/pages/${GITHUB_REF##*/}"

.github/workflows/linkcheck.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Link Check
2+
3+
on:
4+
schedule:
5+
# Run every Monday at 8am to check URL links still resolve
6+
- cron: "0 8 * * MON"
7+
8+
jobs:
9+
docs:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Build docs
14+
uses: dls-controls/pipenv-run-action@v1
15+
with:
16+
pipenv-run: docs -b linkcheck

0 commit comments

Comments
 (0)