-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added link checker. * Updating path of markdown.links.config.json * Ignoring markdown links config file. * Switched link checker to HTML proofer. * Ignoring 302 codes and fixing a few links.
- Loading branch information
Showing
7 changed files
with
63 additions
and
5 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Checking links | ||
|
||
on: | ||
# Automatic check weekly | ||
schedule: | ||
- cron: "0 9 * * 1" | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: Building site and running HTML proofer | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout source. | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install jekyll site dependencies. | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
bundler-cache: true | ||
|
||
- name: Build site | ||
run: npm run build | ||
|
||
- name: Run HTML proofer. | ||
run: npm run link-checker |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ group :jekyll_plugins do | |
gem 'jekyll-redirect-from' | ||
gem 'jekyll-feed' | ||
end | ||
|
||
gem 'html-proofer' |
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
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
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
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