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

9 lines
150 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