Skip to content

Commit

Permalink
add CI-based link checking
Browse files Browse the repository at this point in the history
  • Loading branch information
domwebber committed Mar 31, 2024
1 parent c94923b commit a397b23
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Check Links

on:
workflow_call:

jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: lycheeverse/[email protected]
10 changes: 10 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Check Scheduled

on:
schedule:
- cron: "0 0 1 * *"

jobs:
check-links:
uses: ./.github/workflows/check-links.yml
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Check Main

on:
push:
branches:
- main

jobs:
check-links:
uses: ./.github/workflows/check-links.yml
secrets: inherit

0 comments on commit a397b23

Please sign in to comment.