🔬 Find broken links on a website #87
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
name: Find broken links on a website | |
run-name: 🔬 Find broken links on a website | |
on: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Runs at 9:00 AM KST every day | |
schedule: | |
- cron: '0 0 * * *' # 9:00 AM KST is 0:00 AM UTC | |
jobs: | |
deadfinder: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run DeadFinder | |
uses: hahwul/deadfinder@1.3.4 | |
id: broken-link | |
with: | |
command: sitemap | |
target: https://younsl.github.io/sitemap.xml | |
- name: Output Handling | |
run: echo '${{ steps.broken-link.outputs.output }}' |