From cc10de666825ee8d7037a14d6c99ac255966b568 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 2 May 2022 22:21:20 +0300 Subject: [PATCH] html5validator.yml: setup ruby and build the site --- .github/workflows/html5validator.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/html5validator.yml b/.github/workflows/html5validator.yml index eb77d0a..764c631 100644 --- a/.github/workflows/html5validator.yml +++ b/.github/workflows/html5validator.yml @@ -1,11 +1,24 @@ 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: 2.6 + 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: