From b1da17a7b4a3d939ca4e3bf9ac82a3410b60c7f5 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 2 May 2022 22:42:38 +0300 Subject: [PATCH] enable html5 validating workflow --- .github/workflows/html5validator.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/html5validator.yml diff --git a/.github/workflows/html5validator.yml b/.github/workflows/html5validator.yml new file mode 100644 index 0000000..4e30a9c --- /dev/null +++ b/.github/workflows/html5validator.yml @@ -0,0 +1,26 @@ +name: HTML5 Validator + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v2 # Required will all actions + + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.1 + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + + - name: Jekyll build + run: | + bundle exec jekyll build --drafts --profile + + - name: Checks HTML5 validity + uses: Cyb3r-Jak3/html5validator-action@v7.1.1 + with: + root: _site/ + blacklist: n r or ir