From 49dc86493112e87f638d445c74a5d969ba4eb85d Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 31 Oct 2023 11:05:37 +1100 Subject: [PATCH 1/2] Ignore linkedin URLs --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 720781e2..edbfc9f6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,7 +21,7 @@ jobs: uses: limjh16/jekyll-action-ts@v2 with: enable_cache: true - - run: bundle exec htmlproofer ./_site --no-enforce-https --ignore-urls "/marketplace.digitalocean.com/" --ignore-urls "https://reddit.com/r/inventree" --ignore-urls "https://twitter.com/inventreedb" + - run: bundle exec htmlproofer ./_site --no-enforce-https --ignore-urls "https://www.linkedin.com" --ignore-urls "/marketplace.digitalocean.com/" --ignore-urls "https://reddit.com/r/inventree" --ignore-urls "https://twitter.com/inventreedb" name: Check links - name: Deploy if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main'}} From cd031aac41da836475052b88386161ff1f734615 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 31 Oct 2023 11:13:53 +1100 Subject: [PATCH 2/2] Tweak formatting for --ignore-urls --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index edbfc9f6..156a88ea 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,7 +21,7 @@ jobs: uses: limjh16/jekyll-action-ts@v2 with: enable_cache: true - - run: bundle exec htmlproofer ./_site --no-enforce-https --ignore-urls "https://www.linkedin.com" --ignore-urls "/marketplace.digitalocean.com/" --ignore-urls "https://reddit.com/r/inventree" --ignore-urls "https://twitter.com/inventreedb" + - run: bundle exec htmlproofer ./_site --no-enforce-https --ignore-urls "/www.linkedin.com/,/marketplace.digitalocean.com/,/reddit.com/r/inventree/,/twitter.com/inventreedb/" name: Check links - name: Deploy if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main'}}