mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 01:22:20 +00:00
CI: Use websocat to check websocket connection every hour.
This commit is contained in:
parent
2e7e0eb3f6
commit
5c8cf840a1
1 changed files with 3 additions and 2 deletions
5
.github/workflows/site-checks.yml
vendored
5
.github/workflows/site-checks.yml
vendored
|
|
@ -23,8 +23,9 @@ jobs:
|
||||||
- name: Check websocket connection
|
- name: Check websocket connection
|
||||||
run: |
|
run: |
|
||||||
set -o xtrace
|
set -o xtrace
|
||||||
sudo npm i -g wscat
|
wget https://github.com/vi/websocat/releases/download/v1.6.0/websocat_amd64-linux-static -O websocat
|
||||||
wscat --execute "GET /\n" --connect "https://reanimate.clozecards.com/ws/" || echo "Connection failed."
|
chmod +x websocat
|
||||||
|
./websocat -q -uU "wss://reanimate.clozecards.com/ws/"
|
||||||
- name: Check links at reanimate.github.io
|
- name: Check links at reanimate.github.io
|
||||||
run: checklink --quiet --broken "https://reanimate.github.io/" >> failures.txt
|
run: checklink --quiet --broken "https://reanimate.github.io/" >> failures.txt
|
||||||
- name: Check links at reanimate.readthedocs.io
|
- name: Check links at reanimate.readthedocs.io
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue