Skip to content

Commit

Permalink
debug linkcheck for error code without broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
Omer Siddiqui authored and Omer Siddiqui committed May 9, 2024
1 parent 77be870 commit 32460af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ jobs:
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Debug Linkcheck
run: |
set -o pipefail
yarn linkcheck
# Run linkcheck, propagate linkcheck failure through grep pipe
- name: Linkcheck
run: |
set -o pipefail
yarn linkcheck 2>/dev/null | grep -v "https://twitter.com" | grep "Getting links from\|BROKEN"
yarn linkcheck | grep -v "https://twitter.com" | grep "Getting links from\|BROKEN"
continue-on-error: false

0 comments on commit 32460af

Please sign in to comment.