Check links in docs #1403
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check links in docs | |
on: | |
schedule: | |
# Run every day at 5:05am UTC | |
- cron: '05 05 * * *' | |
jobs: | |
check-links: | |
name: Check links in docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check links in docs | |
id: lychee | |
uses: lycheeverse/[email protected] | |
with: | |
args: '--verbose --no-progress "./docs/content/**/*.md" --exclude "\w+@\w+\.com" --exclude "localhost|127.0.0.1" --exclude "^sqlite://" --exclude "https://crates.io/crates" --exclude "https://medium.com/"' | |
- name: Fail if there were link errors | |
run: exit ${{ steps.lychee.outputs.exit_code }} |