nιcнolaѕ wιlde d3dbba3323
Add markdown link check.
Add linkcheck.sh that checks the links of all markdown files.
Add linkcheck task to Taskfile.yaml
Add link-check GitHub Action to add link checks on a daily schedule.
Add mlc config file to set access codes to pass.

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
2022-06-01 03:36:34 +00:00

9 lines
305 B
Bash
Executable File

#!/bin/bash
set -e
set -o pipefail
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )
readonly DIR
for f in $(find "${DIR}" -name \*.md); do
docker run --rm -v /:/tmp:ro -i -w /tmp ghcr.io/tcort/markdown-link-check:stable "/tmp${f}" -c "/tmp${DIR}/mlc_config.json" || exit 1
done