Broken Link Check #32
Workflow file for this run
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
on: | |
schedule: | |
- cron: '0 2 1 * *' | |
workflow_dispatch: | |
name: Broken Link Check | |
jobs: | |
LinkCheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Check with Hydra | |
run: | | |
BASE=$(pwd) | |
git clone --depth 1 https://github.com/zaproxy/zaproxy-website.git | |
git clone --depth 1 https://github.com/victoriadrake/hydra-link-checker.git | |
cd hydra-link-checker | |
git fetch --all --tags | |
git checkout v1.0.2 | |
wget -O evangelists.html https://www.zaproxy.org/evangelists/ | |
wget -O hof.html https://www.zaproxy.org/student-hall-of-fame/ | |
python hydra.py file://$BASE/hydra-link-checker/evangelists.html $BASE/zaproxy-website/.github/workflows/conf/hydra.json | |
python hydra.py file://$BASE/hydra-link-checker/hof.html $BASE/zaproxy-website/.github/workflows/conf/hydra.json |