Skip to content

Commit

Permalink
ci(broken link checker): add cron job 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 b3d61f8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Broken link checker

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

jobs:
cron:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-setup-node
- run: pnpm install --frozen-lockfile
- run: pnpx bloken-link-checker ${{ github.event.inputs.url }}

0 comments on commit b3d61f8

Please sign in to comment.