Check for broken links #86
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 broken links | |
on: | |
schedule: | |
- cron: "1 13 * * 1" | |
workflow_dispatch: | |
# NOTE: entry below disabled due to github api limitations | |
# workflow_run: | |
# workflows: ["Deploy Jekyll site to Pages"] | |
# types: | |
# - completed | |
jobs: | |
check-links: | |
runs-on: ubuntu-latest | |
steps: | |
- name: install muffet | |
env: | |
URL: raviqqe/muffet | |
GREP_SCHEME: "linux_amd64" | |
TARGET_FOLDER: /home/.local/bin | |
run: | | |
sudo mkdir -p ${TARGET_FOLDER} | |
curl https://raw.githubusercontent.com/triole/ghwfe/master/sh/install_from_github.sh | bash | |
- name: run the test | |
env: | |
TARGET_FOLDER: /home/.local/bin | |
run: | | |
${TARGET_FOLDER}/muffet --rate-limit 4 -t 60 -b 16384 --skip-tls-verification \ | |
--header "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0" \ | |
-e "\.(mkv|mp4|mpg|pdf)$" \ | |
-e "#" \ | |
-e "rdmo.*.de" \ | |
https://rdmorganiser.github.io |