html5validator.yml: setup ruby and build the site

This commit is contained in:
Aminda Suomalainen 2022-05-02 22:21:20 +03:00
parent 0814bf6ef4
commit cc10de6668
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 13 additions and 0 deletions

View File

@ -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: