no message #124
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: Lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
# Skip CI if the commit message of the head commit of a push | |
# contains "skip ci" or "ci skip" | |
if: "!contains(github.event.head_commit.message, 'skip ci') && !contains(github.event.head_commit.message, 'ci skip')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: '2.6' | |
- name: Install Pygments | |
run: pip3 install Pygments | |
- name: Install gem packages | |
run: | | |
gem install bundler | |
bundler install | |
- name: Build Page | |
run: bundle exec jekyll build | |
- name: Run htmlproofer | |
run: bundle exec htmlproofer --assume-extension ./_site --url-ignore "/localhost:8080/,/mmt.mathhub.info/,/omdoc.org/" |