|
12 | 12 |
|
13 | 13 | jobs:
|
14 | 14 | checklinks:
|
| 15 | + if: github.repository == 'segmentio/segment-docs-private' |
15 | 16 | name: Linux
|
16 | 17 | runs-on: ubuntu-latest
|
17 | 18 | strategy:
|
18 | 19 | fail-fast: false
|
19 |
| - steps: |
20 |
| - - uses: actions/checkout@v2 |
21 |
| - - name: Ruby |
22 |
| - uses: ruby/setup-ruby@v1 |
23 |
| - with: |
24 |
| - ruby-version: 2.6 # Not needed with a .ruby-version file |
25 |
| - bundler-cache: true # runs 'bundle install' and caches installed gems automatically |
26 |
| - - name: Yarn install |
27 |
| - run: yarn install |
28 |
| - - name: Build jekyll website with |
29 |
| - run: bundle exec jekyll build |
30 |
| - - name: Check for broken links |
31 |
| - run: | |
32 |
| - yarn run hyperlink ./_site/index.html --canonicalroot https://segment.com/docs -i -r --skip 0.0.0.0 | yarn run tap-spot > output.md |
33 |
| - continue-on-error: true |
34 |
| - - name: Archive log links |
35 |
| - uses: actions/upload-artifact@v1 |
36 |
| - with: |
37 |
| - name: links-check.log |
38 |
| - path: output.md |
39 |
| - - name: Create Issue From File |
40 |
| - uses: peter-evans/create-issue-from-file@v2 |
41 |
| - with: |
42 |
| - title: Link Checker Report |
43 |
| - content-filepath: output.md |
44 |
| - labels: report, automated issue |
| 20 | + # steps: |
| 21 | + # - uses: actions/checkout@v2 |
| 22 | + # - name: Ruby |
| 23 | + # uses: ruby/setup-ruby@v1 |
| 24 | + # with: |
| 25 | + # ruby-version: 2.6 # Not needed with a .ruby-version file |
| 26 | + # bundler-cache: true # runs 'bundle install' and caches installed gems automatically |
| 27 | + # - name: Yarn install |
| 28 | + # run: yarn install |
| 29 | + # - name: Build jekyll website with |
| 30 | + # run: bundle exec jekyll build |
| 31 | + # - name: Check for broken links |
| 32 | + # run: | |
| 33 | + # yarn run hyperlink ./_site/index.html --canonicalroot https://segment.com/docs -i -r --skip 0.0.0.0 | yarn run tap-spot > output.md |
| 34 | + # continue-on-error: true |
| 35 | + # - name: Archive log links |
| 36 | + # uses: actions/upload-artifact@v1 |
| 37 | + # with: |
| 38 | + # name: links-check.log |
| 39 | + # path: output.md |
| 40 | + # - name: Create Issue From File |
| 41 | + # uses: peter-evans/create-issue-from-file@v2 |
| 42 | + # with: |
| 43 | + # title: Link Checker Report |
| 44 | + # content-filepath: output.md |
| 45 | + # labels: report, automated issue |
0 commit comments