diff --git a/.github/htmlproofer.sh b/.github/htmlproofer.sh new file mode 100755 index 000000000..6ac776a96 --- /dev/null +++ b/.github/htmlproofer.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +htmlproofer ./out/ \ + --allow-hash-href true \ + --check-favicon true \ + --check-html true \ + --http-status-ignore "429" \ + --url-ignore "https://query.2020.eswc-conferences.org/,https://2019.eswc-conferences.org/" \ + --extension .html diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 08e08ad37..775aa983b 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -16,7 +16,6 @@ jobs: uses: actions/checkout@v2.3.1 with: persist-credentials: false - - name: Install and Build 🔧 run: | npm install @@ -24,6 +23,14 @@ jobs: touch out/.nojekyll env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.6 + - name: Check HTML ✅ + run: | + gem install htmlproofer + .github/htmlproofer.sh - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@3.6.2 with: diff --git a/components/Navigation.js b/components/Navigation.js index e760fb5de..043b13a9f 100644 --- a/components/Navigation.js +++ b/components/Navigation.js @@ -4,8 +4,8 @@ export default class Navigation extends React.Component { render() { return