Skip to content

Commit

Permalink
chore(ci): add lychee
Browse files Browse the repository at this point in the history
  • Loading branch information
Meysam Azad committed Feb 13, 2024
1 parent ad44c97 commit 5d91a20
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
contents: write

jobs:
deploy:
site:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -35,3 +35,21 @@ jobs:
- name: Install dependencies
run: pip install -U pip -r requirements.txt
- run: mkdocs gh-deploy --force

lychee:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1
with:
fail: ${{ github.ref == 'refs/heads/main' }}
- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue

0 comments on commit 5d91a20

Please sign in to comment.