mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-03-02 15:29:16 +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'
|
||||
bundler-cache: true
|
||||
- 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 * * *"
|
||||
jobs:
|
||||
check:
|
||||
strategy:
|
||||
matrix:
|
||||
branch: [main, 2.*, 1.3]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ matrix.branch }}
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.0'
|
||||
|
Loading…
x
Reference in New Issue
Block a user