Skip to content

Merge pull request #29 from sutterj/update-badge #17

Merge pull request #29 from sutterj/update-badge

Merge pull request #29 from sutterj/update-badge #17

Workflow file for this run

name: Jekyll CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
production_deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: npm install
run: npm install -g htmlhint csslint
- name: run markdown lint
run: |
bundle exec mdl README.md
bundle exec mdl _posts
- name: jekyll build
run: JEKYLL_ENV=production bundle exec jekyll build
- name: verify site
run: |
bundle exec htmlproofer --ignore-status-codes "999" ./_site
htmlhint ./_site
csslint ./_site