Skip to content

Commit 58a943f

Browse files
authored
Update broken-links.yml
1 parent 97ed846 commit 58a943f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/broken-links.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
name: broken links?
21
'on':
32
push:
4-
branches:
5-
- "**"
3+
branches:
4+
- "**"
65
schedule:
7-
- cron: 0 16 * * *
8-
workflow_dispatch:
6+
- cron: 0 14 * * *
7+
name: broken links?
98
jobs:
109
linkChecker:
1110
runs-on: ubuntu-latest
1211
steps:
1312
- uses: actions/checkout@v2
1413
- name: Link Checker
1514
id: lc
16-
uses: peter-evans/[email protected]
15+
uses: lycheeverse/lychee-action@v2
1716
with:
18-
args: '-v -r *.md'
17+
args: --insecure --base . --verbose --no-progress './**/*.md' './**/*.html' --accept 200,204,206
1918
- name: Fail?
2019
run: 'exit ${{ steps.lc.outputs.exit_code }}'

0 commit comments

Comments
 (0)