Define the content
div CSS rules before page-specific rules.
#134
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: CheckLinks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
checklinks: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Ruby | |
uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
- name: Setup Jekyll | |
run: | | |
gem install jekyll | |
bundle install | |
- name: Build jekyll website with drafts | |
run: bundle exec jekyll build --drafts | |
- name: Check for broken links | |
run: | | |
bundle exec htmlproofer --log-level :debug ./_site &> links.log | |
continue-on-error: true | |
- name: Archive log links | |
uses: actions/upload-artifact@v3 | |
with: | |
name: links-check.log | |
path: links.log |