Check deployment for broken links #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample workflow for broken links check | |
name: Check deployment for broken links | |
on: | |
# Manually run the deployment | |
workflow_dispatch: | |
inputs: | |
url: | |
description: 'URL to check' | |
required: true | |
jobs: | |
# Build job | |
linkinator: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Run check for broken links" | |
run: npx linkinator ${{ github.event.inputs.url }} --recurse |