mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-13 16:26:50 +00:00
Linkcheck
This commit is contained in:
27
.github/workflows/linkcheck.yml
vendored
Normal file
27
.github/workflows/linkcheck.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: linkcheck
|
||||
|
||||
on:
|
||||
# Run once per day
|
||||
schedule:
|
||||
- cron: '* * * * *'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16]
|
||||
steps:
|
||||
# Checkout and setup
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup (Node.js ${{ matrix.node-version }})
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
# Install and build
|
||||
- name: Install
|
||||
run: npm ci
|
||||
# Run linkcheck, propagate linkcheck failure through grep pipe
|
||||
- name: Linkcheck
|
||||
run: set -o pipefail; npm run linkcheck 2>/dev/null | grep "Getting links from\|BROKEN"
|
||||
@@ -12,7 +12,7 @@
|
||||
"dist": "dist",
|
||||
"port": "3000",
|
||||
"domain": "einundzwanzig.space",
|
||||
"linkcheck": "blc -ro --filter-level 2 --requests 1 --exclude reddit.com --exclude t.me --exclude blog.voltage.cloud --exclude shiftcrypto.shop/en/products/black-friday-bundle-btc-41"
|
||||
"linkcheck": "blc -ro --filter-level 2 --requests 1 --exclude reddit.com --exclude t.me --exclude blog.voltage.cloud --exclude canva.com --exclude cointelegraph.com --exclude shiftcrypto.shop/en/products/black-friday-bundle-btc-41"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist generated && mkdir -p dist generated",
|
||||
|
||||
@@ -20,7 +20,7 @@ block main
|
||||
p Diese spendenfinanzierten Projekte, Initiativen und Entwickler halten wir für unterstützenswert.
|
||||
|
||||
:markdown-it(html linkify typographer)
|
||||
Neue Vorschläge können gerne [per Pull Request](https://github.com/Einundzwanzig-Podcast/einundzwanzig.space/edit/master/content/spenden/) hinzugefügt werden.
|
||||
Neue Vorschläge können gerne [per Pull Request](https://github.com/Einundzwanzig-Podcast/einundzwanzig.space/edit/master/content/spendenregister/) hinzugefügt werden.
|
||||
Hier gibt es ein [Video-Tutorial](https://www.youtube.com/watch?v=BNJc9LExEzU), wie ein neuer Pull Request erstellt werden kann.
|
||||
|
||||
ul.spenden(data-shuffle)
|
||||
|
||||
Reference in New Issue
Block a user