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

27 lines
552 B
YAML
Raw Normal View History

name: HTML5 Validator
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # Required will all actions
- uses: ruby/setup-ruby@v1
with:
2022-05-02 21:37:44 +02:00
ruby-version: 3.1
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Jekyll build
2022-05-02 21:29:50 +02:00
run: |
bundle exec jekyll build --drafts --profile
- name: Checks HTML5 validity
2022-10-25 18:10:58 +02:00
uses: Cyb3r-Jak3/html5validator-action@v7.2.0
with:
root: _site/
2022-05-02 21:33:13 +02:00
blacklist: n r or ir