Replace Task force site with INCF main page #17
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
--- | |
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 html | |
make serve & | |
echo $! > server.pid | |
sleep 1 | |
- name: Check links | |
run: | | |
linkchecker --check-extern -f .linkcheckerrc -t 1 http://localhost:8000 | |
- name: Stop Website Server | |
run: | | |
kill $(cat server.pid) |