Skip to content

Commit 60d7ee3

Browse files
committed
lychee link checker
1 parent f597e30 commit 60d7ee3

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/check-links.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,16 @@ jobs:
2222
with:
2323
ruby-version: 2.6 # Not needed with a .ruby-version file
2424
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
25-
# - name: Setup Rubygems, Bundler, jekyll
26-
# run: |
27-
# gem update --system --no-document
28-
# gem update bundler --no-document
29-
# gem install jekyll bundler
30-
# bundle install
3125
- name: Build jekyll website
3226
run: bundle exec jekyll build
3327
- name: Check for broken links
34-
run: |
35-
bundle exec htmlproofer --checks_to_ignore ScriptCheck,ImageCheck --only_4xx --log-level :debug ./_site/utils/env/index.html &> links.log
36-
continue-on-error: true
37-
- name: Archive log links
38-
uses: actions/upload-artifact@v1
28+
uses: lycheeverse/[email protected]
3929
with:
40-
name: links-check.log
41-
path: links.log
30+
args: --verbose --no-progress ./_site/utils/env.html
31+
env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
32+
- name: Create Issue From File
33+
uses: peter-evans/create-issue-from-file@v3
34+
with:
35+
title: Link Checker Report
36+
content-filepath: ./lychee/out.md
37+
labels: report, automated issue

0 commit comments

Comments
 (0)