From 519f4e2bbf2af70ef8ab2fc40f427591a6abdc8b Mon Sep 17 00:00:00 2001 From: Javier Morales Rodriguez Date: Thu, 4 Aug 2022 13:00:16 -0400 Subject: [PATCH] Dead links action fix 3 (#367) * Changing version format * Changed to doc folder before bundle install * Changing to docs folder in every step Co-authored-by: Dimitris-Ilias Gkanatsios --- .github/workflows/pages-check-links.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pages-check-links.yml b/.github/workflows/pages-check-links.yml index 1a17335b..63c12a14 100644 --- a/.github/workflows/pages-check-links.yml +++ b/.github/workflows/pages-check-links.yml @@ -23,7 +23,7 @@ jobs: ruby-version: 2.7 - name: Setup Rubygems, Bundler, jekyll - run: | + run: | cd docs/ gem update --system --no-document gem update bundler --no-document @@ -31,7 +31,11 @@ jobs: bundle install - name: Build jekyll website with drafts - run: bundle exec jekyll build --drafts + run: | + cd docs/ + bundle exec jekyll build --drafts - name: Check for broken links - run: bundle exec htmlproofer --log-level :debug ./_site --swap-urls '^/thundernetes/:/' --ignore-status-code 403 + run: | + cd docs/ + bundle exec htmlproofer --log-level :debug ./_site --swap-urls '^/thundernetes/:/' --ignore-status-code 403