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