Add CI using GitHub Actions and htmlproofer. #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
merge_group: | |
types: [ checks_requested ] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
# runs 'bundle install' and caches installed gems automatically | |
bundler-cache: true | |
- name: jekyll build | |
run: bundle exec jekyll build | |
- name: htmlproofer | |
run: bundle exec htmlproofer _site/ --disable-external=true |