Skip to content

Build: Add redirect to fix 404 at http://api.jquery.com/extending-ajax #52

Build: Add redirect to fix 404 at http://api.jquery.com/extending-ajax

Build: Add redirect to fix 404 at http://api.jquery.com/extending-ajax #52

Workflow file for this run

name: spider-check
on:
# Once a week on Friday at 00:00
schedule:
- cron: '0 0 * * 5'
# Or manually
workflow_dispatch:
# Or when developing this workflow
push:
paths:
- .github/workflows/spider-check.yaml
pull_request:
paths:
- .github/workflows/spider-check.yaml
jobs:
spider-check:
if: ${{ github.repository_owner == 'jquery' }} # skip on forks
env:
MY_SITE: https://api.jquery.com
runs-on: ubuntu-latest
env:

Check failure on line 22 in .github/workflows/spider-check.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/spider-check.yaml

Invalid workflow file

You have an error in your yaml syntax on line 22
# Site address to crawl
MY_SITE: https://api.jquery.com
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Run hydra-link-checker
run: |
curl -O https://raw.githubusercontent.com/jquery/hydra-link-checker/v2.0.0/hydra.py
python3 hydra.py "$MY_SITE" --config .github/configs/hydra-config.json