Skip to content

Check external links #6

Check external links

Check external links #6

Workflow file for this run

---
name: Check Links
on:
pull_request:
branches:
- master
jobs:
check_links:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Requirements
run: |
pip install pelican linkchecker
- name: Start server
run: |
make serve &
echo $! > server.pid
sleep 1
- name: Check links
run: |
linkchecker -f .linkcheckerrc -t 1 https://localhost:8000
- name: Stop Website Server
run: |
kill $(cat server.pid)