hugo-site/testWeb.sh
2021-07-29 16:52:43 +02:00

12 lines
138 B
Bash
Executable File

#!/bin/bash
echo "TEST HUGO"
$response="curl http://localhost:6060"
if [$reponse=="HTTP/1.1 200 OK"]
then
exit 0
else
exit 1
fi