Skip to content

Commit

Permalink
更新 linkchecker 命令參數
Browse files Browse the repository at this point in the history
  • Loading branch information
doggy8088 committed Nov 18, 2023
1 parent dc8fed0 commit 6f8bf1d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/linkchecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ jobs:
sudo apt-get install -y linkchecker
- name: Run linkchecker
run: linkchecker --check-extern --no-robots -F "html/utf-8/linkchecker-result.html" https://doggy8088.github.io/Learn-Git-in-30-days/
run: |
linkchecker --check-extern --no-robots \
-F "html/utf-8/linkchecker-result.html" \
--user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" \
--ignore-url=https://www-cs-students.stanford.edu \
https://doggy8088.github.io/Learn-Git-in-30-days/
- name: Upload artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 6f8bf1d

Please sign in to comment.