Skip to content

Commit

Permalink
ci(.github): add workflow to check broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli committed May 25, 2024
1 parent f7cc9fd commit c8b04ce
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Broken link checker

on:
schedule:
- cron: '0 5 * * 1-5'
workflow_dispatch:
inputs: { url: { description: 'URL to check', required: false, default: 'https://suspensive.org' } }

jobs:
broken-link-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-setup-node
- run: npx broken-link-checker ${{ github.event.inputs.url }} --ro

0 comments on commit c8b04ce

Please sign in to comment.