File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -22,21 +22,20 @@ jobs:
22
22
with :
23
23
ruby-version : 2.6 # Not needed with a .ruby-version file
24
24
bundler-cache : true # runs 'bundle install' and caches installed gems automatically
25
- - name : Build jekyll website with drafts
25
+ - name : Build jekyll website with
26
26
run : bundle exec jekyll build
27
27
- name : Check for broken links
28
28
run : |
29
- bundle exec htmlproofer --log-level :debug ./_site/utils/env/index.html &> links.log
29
+ yarn run hyperlink ./_site/index.html --canonicalroot https://segment.com/docs -i -r --skip 0.0.0.0 | yarn run tap-spot > output.md
30
30
continue-on-error : true
31
31
- name : Archive log links
32
32
uses : actions/upload-artifact@v1
33
33
with :
34
34
name : links-check.log
35
- path : links.log
36
- - name : Build jekyll website
37
- run : bundle exec jekyll build
38
- - name : Archive log links
39
- uses : actions/upload-artifact@v1
35
+ path : output.md
36
+ - name : Create Issue From File
37
+ uses : peter-evans/create-issue-from-file@v2
40
38
with :
41
- name : links-check.log
42
- path : links.log
39
+ title : Link Checker Report
40
+ content-filepath : output.md
41
+ labels : report, automated issue
You can’t perform that action at this time.
0 commit comments