mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-02-24 09:20:42 +01:00
html5validator.yml: setup ruby and build the site
This commit is contained in:
parent
0814bf6ef4
commit
cc10de6668
13
.github/workflows/html5validator.yml
vendored
13
.github/workflows/html5validator.yml
vendored
@ -1,11 +1,24 @@
|
|||||||
name: HTML5 Validator
|
name: HTML5 Validator
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2 # Required will all actions
|
- 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
|
- name: Checks HTML5 validity
|
||||||
uses: Cyb3r-Jak3/html5validator-action@v7.1.1
|
uses: Cyb3r-Jak3/html5validator-action@v7.1.1
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user