Skip to content

Commit

Permalink
Workflow for redirects check
Browse files Browse the repository at this point in the history
  • Loading branch information
lenadoc committed Aug 29, 2023
1 parent f13b51a commit c74f51a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/check-redirects.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check redirects
on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build documentation
run: jekyll build --check-redirects
- name: Check redirects
run: |
if [ $? -ne 0 ]; then
echo "Missing redirects"
exit 1
fi
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ commonmark:
plugins:
- jekyll-last-modified-at
- jekyll-include-cache
- jekyll-redirect-from

# filter used to process markdown. note that kramdown differs from github-flavored markdown in some subtle ways

Expand Down

0 comments on commit c74f51a

Please sign in to comment.