Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 4f7d1fb
Author: olaf michaelis <o.mic@web.de>
Date:   Wed Nov 27 22:15:57 2024 +0100

    Update path

commit 90eedab
Author: olaf michaelis <o.mic@web.de>
Date:   Wed Nov 27 22:12:24 2024 +0100

    Update

commit cbd0a72
Author: olaf michaelis <o.mic@web.de>
Date:   Wed Nov 27 22:06:30 2024 +0100

    Update workflow

commit ef48dac
Author: olaf michaelis <o.mic@web.de>
Date:   Wed Nov 27 21:57:03 2024 +0100

    Update workflow

commit 3c5d0bc
Author: olaf michaelis <o.mic@web.de>
Date:   Wed Nov 27 21:54:25 2024 +0100

    Add new check links draft
  • Loading branch information
triole committed Nov 27, 2024
1 parent 81fdc10 commit 7058574
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
13 changes: 13 additions & 0 deletions .github/sh/check-links.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

ua="Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0"

muffet --rate-limit 4 -t 300 -b 16384 --skip-tls-verification \
--header "User-Agent: ${ua}" \
-e "\.(mkv|mp4|mpg|pdf)$" \
-e "#" \
-e "rdmo.*.de" \
-e "twitter" \
-e "www.ub.uni-rostock.de" \
-e "www.ub.uni-potsdam.de" \
https://rdmorganiser.github.io
14 changes: 4 additions & 10 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: install muffet
env:
URL: raviqqe/muffet
Expand All @@ -25,13 +27,5 @@ jobs:
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:129.0) Gecko/20100101 Firefox/129.0" \
-e "\.(mkv|mp4|mpg|pdf)$" \
-e "#" \
-e "rdmo.*.de" \
-e "twitter" \
-e "www.ub.uni-rostock.de" \
https://rdmorganiser.github.io
PATH: ${PATH}:/home/.local/bin
run: .github/sh/check-links.sh

0 comments on commit 7058574

Please sign in to comment.