mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-13 09:02:54 +00:00
30 lines
718 B
YAML
30 lines
718 B
YAML
name: Site checker
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 * * * *"
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get -y install w3c-linkchecker
|
|
- name: Check websocket connection
|
|
run: |
|
|
#sudo npm install -g wscat
|
|
wscat --version
|
|
wscat --connect --help "wss://reanimate.clozecards.com:443/ws/"
|
|
- name: Check links at reanimate.github.io
|
|
run: |
|
|
checklink --quiet --broken "https://reanimate.github.io/" > failures.txt
|
|
if [ -s failures.txt ]; then
|
|
cat failures.txt
|
|
exit 1
|
|
fi
|