Skip to content

Commit

Permalink
add debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
esolitos authored and gitbutler-client committed Aug 13, 2024
1 parent 6b3a828 commit aad39c4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/jekyll-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,33 @@ jobs:
- name: Clean redirections
run: |
set +e
# Remove the redirect-files before link-check
find _site/ -name \*.html
echo "1 Result: $?"
echo "======================================="
# Remove the redirect-files before link-check
find _site/ -name \*.html -print0 | \
xargs -0 -n 100 --no-run-if-empty grep -l "Click here if you are not redirected."
echo "2 Result: $?"
echo "======================================="
echo "_site/incremental-search/search-as-you-type/src/main/resources/site/index.html" |
xargs -0 -n 100 --no-run-if-empty grep -s -l "Click here if you are not redirected."
echo "3 Result: $?"
echo "======================================="
grep -s -l "Click here if you are not redirected." "_site/incremental-search/search-as-you-type/src/main/resources/site/index.html"
echo "4 Result: $?"
echo "======================================="
# Remove the redirect-files before link-check
find _site/ -name \*.html -print0 | \
xargs -0 -n 100 --no-run-if-empty grep -l "Click here if you are not redirected." | \
Expand Down

0 comments on commit aad39c4

Please sign in to comment.