From 00e17303606a5502ad51f2cb036a3b25308451f5 Mon Sep 17 00:00:00 2001 From: Javier Morales Date: Thu, 4 Aug 2022 11:14:32 -0400 Subject: [PATCH 1/3] Changing version format --- .github/workflows/pages-check-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pages-check-links.yml b/.github/workflows/pages-check-links.yml index 75813f0e..51395c04 100644 --- a/.github/workflows/pages-check-links.yml +++ b/.github/workflows/pages-check-links.yml @@ -20,7 +20,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1.113.3 with: - ruby-version: 2.7.x + ruby-version: 2.7 - name: Setup Rubygems, Bundler, jekyll run: | From 8a223147a03ce0211963170796e58357475eb16a Mon Sep 17 00:00:00 2001 From: Javier Morales Date: Thu, 4 Aug 2022 11:39:03 -0400 Subject: [PATCH 2/3] Changed to doc folder before bundle install --- .github/workflows/pages-check-links.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pages-check-links.yml b/.github/workflows/pages-check-links.yml index 51395c04..1a17335b 100644 --- a/.github/workflows/pages-check-links.yml +++ b/.github/workflows/pages-check-links.yml @@ -24,15 +24,14 @@ jobs: - name: Setup Rubygems, Bundler, jekyll run: | + cd docs/ gem update --system --no-document gem update bundler --no-document gem install jekyll bundler bundle install - name: Build jekyll website with drafts - run: | - cd docs/ - bundle exec jekyll build --drafts + run: 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 From f9c4f6c743f2e4485afe29da48a60ddb6002797e Mon Sep 17 00:00:00 2001 From: Javier Morales Date: Thu, 4 Aug 2022 12:53:17 -0400 Subject: [PATCH 3/3] Changing to docs folder in every step --- .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