Check external link validity #118
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 external link validity | |
on: | |
# Trigger manually on GitHub. | |
workflow_dispatch: | |
inputs: {} | |
# Run every Monday at 9:00 AM. | |
# https://crontab.guru/#0_9_*_*_1 | |
schedule: | |
- cron: "0 9 * * 1" | |
jobs: | |
check-links: | |
name: Check all links | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
env: {} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Check validity of all links | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
use-verbose-mode: "yes" | |
config-file: link_check_config.json | |
folder-path: content/posts |