hugo-site/testWeb.sh
2021-07-29 17:08:51 +02:00

9 lines
149 B
Bash
Executable File

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