From 6c88299ffea1bd7a642027cedae8a632821a66b1 Mon Sep 17 00:00:00 2001 From: Akom Date: Wed, 12 Oct 2022 16:28:06 -0400 Subject: [PATCH] Enforce broken links --- .github/workflows/checklinks.yaml | 7 ++++--- _includes/header.html | 2 +- display/release/Patches.md | 2 +- index.md | 16 ++++++++-------- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/checklinks.yaml b/.github/workflows/checklinks.yaml index 5571fce..4b9866f 100644 --- a/.github/workflows/checklinks.yaml +++ b/.github/workflows/checklinks.yaml @@ -29,10 +29,11 @@ jobs: run: bundle exec jekyll build - name: Check for broken links run: | - bundle exec rake test &> links.log - continue-on-error: true + set -o pipefail + bundle exec rake test 2>&1 | tee links.log - name: Archive log links uses: actions/upload-artifact@v1 with: name: links-check.log - path: links.log \ No newline at end of file + path: links.log + if: ${{ always() }} \ No newline at end of file diff --git a/_includes/header.html b/_includes/header.html index e2bba86..55dcf08 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -6,7 +6,7 @@