Skip to content

Commit

Permalink
Update links.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna babu <[email protected]>
  • Loading branch information
Krish-2505 authored Jun 13, 2024
1 parent 87e531b commit 89df40d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Remove symlink
run: rm docs/source/README.md
- name: lychee Link Checker
id: lychee
uses: lycheeverse/[email protected]
with:
args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "file:///github/workspace/*" --exclude-mail
args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "file:///github/workspace/*" --exclude "file:///home/runner/work/opensearch-py/opensearch-py/docs/source/README.md" --exclude-mail
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Restore symlink
if: always()
run: ln -s ../../README.md docs/source/README.md

0 comments on commit 89df40d

Please sign in to comment.