mikaela.github.io/.github/workflows/html5validator.yml

26 lines
589 B
YAML
Raw Normal View History

name: HTML5 Validator
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Required will all actions
2023-02-22 19:28:38 +01:00
- uses: ruby/setup-ruby@v1
with:
ruby-version: ".ruby-version"
2023-02-22 19:28:38 +01:00
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2023-02-22 19:28:38 +01:00
- name: Jekyll build
run: |
bundle exec jekyll build --drafts --profile
2023-02-22 19:28:38 +01:00
- name: Checks HTML5 validity
uses: Cyb3r-Jak3/html5validator-action@v7.2.0
with:
root: _site/
blacklist: n r or ir