reconfigure lychee url checking exclude github and twitter

This commit is contained in:
neil 2022-11-09 21:11:04 +08:00
parent 4d41a1cd65
commit df3f9fcfd4
2 changed files with 9 additions and 7 deletions

View file

@ -68,13 +68,13 @@ jobs:
with:
target: build
# - name: Check for broken links
# uses: lycheeverse/lychee-action@v1
# with:
# fail: true
# args: --verbose --no-progress './public/**/*.md' './public/**/*.html'
# env:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Check for broken links
uses: lycheeverse/lychee-action@v1
with:
fail: true
args: --verbose --no-progress './public/**/*.md' './public/**/*.html'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- uses: actions/setup-node@v3
with:

View file

@ -5,6 +5,8 @@ base = "./public"
exclude-mail = true
include = ["./public/**/*.md", "./public/**/*.html"]
exclude = [
"https://github.com/",
"https://twitter.com/",
"https://fonts.gstatic.com/",
"https://fonts.googleapis.com/",
"https://www.clarity.ms/tag/",