hugo-site/testWeb.sh
2021-07-29 17:12:45 +02:00

9 lines
148 B
Bash
Executable File

#!/bin/bash
echo "TEST HUGO"
reponse=$(curl -s -o /dev/null -w "%{http_code}\n" http://localhost:6060)
if ["$reponse" != "200"]
then
exit 1
fi