File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change 16
16
strategy :
17
17
fail-fast : false
18
18
steps :
19
- - name : Check links with linkcheck
20
-
21
- with :
22
- arguments : https://deploy-preview-1839--segment-docs.netlify.app/utils/env
23
-
19
+ - uses : actions/checkout@v2
20
+ - name : Ruby
21
+ uses : ruby/setup-ruby@v1
22
+ with :
23
+ ruby-version : 2.6 # Not needed with a .ruby-version file
24
+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
25
+ - name : Build jekyll website with drafts
26
+ run : bundle exec jekyll build
27
+ - name : Check for broken links
28
+ run : |
29
+ bundle exec htmlproofer --log-level :debug ./_site &> links.log
30
+ continue-on-error : true
31
+ - name : Archive log links
32
+ uses : actions/upload-artifact@v1
33
+ with :
34
+ name : links-check.log
35
+ path : links.log- name: Build jekyll website
36
+ run : bundle exec jekyll build
37
+ - name : Archive log links
38
+ uses : actions/upload-artifact@v1
39
+ with :
40
+ name : links-check.log
41
+ path : links.log
You can’t perform that action at this time.
0 commit comments