From 899f7e528fdce8c9cefb40b0d6fe1c68b3b7b78e Mon Sep 17 00:00:00 2001 From: Chris Hain Date: Tue, 22 Oct 2024 12:05:49 -0700 Subject: [PATCH 1/2] Fix broken workflow definition --- .github/workflows/build-pages.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build-pages.yml b/.github/workflows/build-pages.yml index 68e3640..116c679 100644 --- a/.github/workflows/build-pages.yml +++ b/.github/workflows/build-pages.yml @@ -1,14 +1,11 @@ on: push: - branches: - - main - - development pull_request: branches: - main - development + workflow_dispatch: -workflow_dispatch: name: Pages-CI jobs: From 6068e5d5de0856e34d070870662a6f49bb68a86d Mon Sep 17 00:00:00 2001 From: Chris Hain Date: Tue, 22 Oct 2024 12:08:29 -0700 Subject: [PATCH 2/2] fix build step directories --- .github/workflows/build-pages.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-pages.yml b/.github/workflows/build-pages.yml index 116c679..b94ca11 100644 --- a/.github/workflows/build-pages.yml +++ b/.github/workflows/build-pages.yml @@ -31,12 +31,8 @@ jobs: path: tmp/.htmlproofer key: ${{ runner.os }}-htmlproofer - name: Build Site - run: bundle exec jekyll build - - name: Test with Nu Validator - uses: Cyb3r-Jak3/html5validator-action@2a593a9f2c10593cbac84791a6fc4c47e9a106c8 - with: - config: fixtures/html5validator-config.yml + run: cd ./pages && bundle exec jekyll build - name: Test with html-proofer - run: bundle exec htmlproofer _site --ignore-urls "/github.com/,/web.archive.org/" --swap-urls '^/application-study-tool/:/' + run: cd ./pages && bundle exec htmlproofer _site --ignore-urls "/github.com/,/web.archive.org/" --swap-urls '^/application-study-tool/:/' env: NOKOGIRI_USE_SYSTEM_LIBRARIES: true \ No newline at end of file