mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-03-03 15:39:08 +00:00
Link checker update: fail on PRs and run for all branches (#3690)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
parent
89b16a9925
commit
8847b4069a
2
.github/workflows/jekyll-build.yml
vendored
2
.github/workflows/jekyll-build.yml
vendored
@ -13,4 +13,4 @@ jobs:
|
|||||||
ruby-version: '3.0'
|
ruby-version: '3.0'
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
- run: |
|
- run: |
|
||||||
JEKYLL_LINK_CHECKER=internal bundle exec jekyll build --future
|
JEKYLL_FATAL_LINK_CHECKER=internal bundle exec jekyll build --future
|
||||||
|
5
.github/workflows/link-checker.yml
vendored
5
.github/workflows/link-checker.yml
vendored
@ -5,9 +5,14 @@ on:
|
|||||||
- cron: "30 11 * * *"
|
- cron: "30 11 * * *"
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
branch: [main, 2.*, 1.3]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ matrix.branch }}
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.0'
|
ruby-version: '3.0'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user