mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 09:32:22 +00:00
CI: Fix 404 checking.
This commit is contained in:
parent
84f3044c62
commit
e5be814929
1 changed files with 5 additions and 4 deletions
9
.github/workflows/site-checks.yml
vendored
9
.github/workflows/site-checks.yml
vendored
|
|
@ -15,15 +15,16 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install w3c-linkchecker node-ws
|
sudo apt-get -y install w3c-linkchecker
|
||||||
- name: Check websocket connection
|
- name: Check websocket connection
|
||||||
run: |
|
run: |
|
||||||
|
npm install -g wscat
|
||||||
wscat --version
|
wscat --version
|
||||||
wscat --connect --help "wss://reanimate.clozecards.com:443/ws/"
|
wscat --connect --help "wss://reanimate.clozecards.com:443/ws/"
|
||||||
- name: Check links at reanimate.github.io
|
- name: Check links at reanimate.github.io
|
||||||
run: |
|
run: |
|
||||||
FAILURES=$(checklink --quiet --broken "https://reanimate.github.io/")
|
checklink --quiet --broken "https://reanimate.github.io/" > failures.txt
|
||||||
if [ -n "$FAILURES" ]; then
|
if [ -s failures.txt ]; then
|
||||||
echo $FAILURES
|
cat failures.txt
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue