Check for dead links #166
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 for dead links | |
on: | |
schedule: | |
# Run every day at 8pm UTC | |
- cron: "0 20 * * *" | |
workflow_dispatch: | |
jobs: | |
check-for-dead-links: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for dead links once | |
run: | | |
curl --location --request POST 'https://editor.gordonbeeming.com/api/update-dead-links' | |
- name: Check for dead links twice | |
run: | | |
curl --location --request POST 'https://editor.gordonbeeming.com/api/update-dead-links' |