Skip to content

Broken URL Check

Broken URL Check #4

Workflow file for this run

name: Broken URL Check
on:
schedule:
# Runs every Monday at 00:00 UTC
- cron: '0 0 * * 1'
workflow_dispatch: # Allows manual triggering of the workflow
defaults:
run:
shell: bash
jobs:
url-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Run link checker
run: |
python scripts/urlcheck.py