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: with:
target: build target: build
# - name: Check for broken links - name: Check for broken links
# uses: lycheeverse/lychee-action@v1 uses: lycheeverse/lychee-action@v1
# with: with:
# fail: true fail: true
# args: --verbose --no-progress './public/**/*.md' './public/**/*.html' args: --verbose --no-progress './public/**/*.md' './public/**/*.html'
# env: env:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:

View file

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