Skip to content

Broken Links Report #59

Broken Links Report

Broken Links Report #59

Workflow file for this run

name: Broken Links Report
on:
schedule:
- cron: '0 0 * * 0'
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install bs4 requests
- name: Run Python script with secrets
run: python .github/scripts/broken_links.py
env:
NOTIFY_BASE_API_URL: ${{ secrets.NOTIFY_BASE_API_URL }}
BROKEN_LINKS_API_KEY: ${{ secrets.BROKEN_LINKS_API_KEY }}
BROKEN_LINKS_EMAIL: ${{ secrets.BROKEN_LINKS_EMAIL }}
BROKEN_LINKS_TEMPLATE_ID: ${{ secrets.BROKEN_LINKS_TEMPLATE_ID }}