Skip to content

Commit

Permalink
Check links
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Nov 5, 2024
1 parent 06aeb9c commit a128f40
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Links

on:
workflow_dispatch:
schedule:
- cron: "00 18 * * *"
pull_request:

jobs:
check-links-in-locals:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check broken links
uses: lycheeverse/lychee-action@v2
with:
args: --method GET --fallback-extensions md --exclude dorahacks.io --exclude-path */forum-trunk */**/*.md

check-links-in-remote:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Check broken links
uses: lycheeverse/lychee-action@v2
with:
args: --method GET --fallback-extensions md --exclude dorahacks.io --exclude-path */forum-trunk https://nine-chronicles.dev/

0 comments on commit a128f40

Please sign in to comment.