Skip to content

REL 1.26 - Update documentation #26

REL 1.26 - Update documentation

REL 1.26 - Update documentation #26

name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- master
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Ruby setup
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Get cached gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle setup
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Build and deploy
run: bundle exec jekyll build
- name: Cache HTMLProofer
id: cache-htmlproofer
uses: actions/cache@v2
with:
path: tmp/.htmlproofer
key: ${{ runner.os }}-htmlproofer
- name: Check HTML
run: bundle exec htmlproofer ./_site --only-4xx --check-favicon --check-html