Merge pull request #2248 from IIIF/license-registry #472
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: Check-linkrot | |
on: | |
push: | |
paths-ignore: | |
- '**/README.md' | |
jobs: | |
test_linkrot: | |
runs-on: ubuntu-latest # The type of runner that the job will run on | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Install | |
run: gem install bundler && bundle | |
- name: Build site | |
run: bundle exec rake build:default | |
- name: Test external links | |
run: bundle exec rake test:links:external |