🌐 Check URLs #1873
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 URLs | |
on: | |
push: | |
pull_request: | |
schedule: | |
# Every day at midnight (UTC). | |
# URLs can decay over time. Setting up a schedule makes it possible to be warned | |
# about dead links as soon as possible. | |
- cron: "0 0 * * *" | |
jobs: | |
check-urls: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check link validity | |
uses: lycheeverse/[email protected] | |
- name: Fail if there were link errors | |
run: exit ${{ steps.lc.outputs.exit_code }} |