Skip to content

Commit

Permalink
Update linkcheck-redata.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zoidy authored Apr 11, 2024
1 parent 5ee59b6 commit b59bd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/linkcheck-redata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ jobs:
split -d --verbose -b1M --additional-suffix=.html data.html data
- name: run check
continue-on-error: true
shell: bash {0} #avoid exiting this step on non-zero return values
run: |
rm data.html
for f in data*.html; do linkchecker -f linkcheckerrc-${{ env.OUTDIR }} -F html/tmpreport$(date +%s).html "${f}"; done;
rm data*.html
- name: process report
run: |
find -name "tmpreport*.html"
cat $(find -name "tmpreport*.html" | head -n1) | head -n25 > reports/${{ env.OUTDIR }}/${{ env.OUTFILE }}
for f in tmpreport*.html; do tail -n+26 ${f} | head -n-1 >> reports/${{ env.OUTDIR }}/${{ env.OUTFILE }}; done;
echo "</small></body></html>" >> reports/${{ env.OUTDIR }}/${{ env.OUTFILE }}
Expand Down

0 comments on commit b59bd89

Please sign in to comment.