Skip to content

Commit

Permalink
Merge pull request #1 from Krish-2505/Krish-2505-patch-1
Browse files Browse the repository at this point in the history
Update links.yml
  • Loading branch information
Krish-2505 authored Jun 13, 2024
2 parents 87e531b + 89df40d commit 1e0907c
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 1e0907c

Please sign in to comment.