fix push script
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Marsh 2021-12-12 17:07:21 +00:00
parent 5cfd949074
commit bfe7714311
Signed by: burble
GPG Key ID: 0FCCD13AE1CF7ED8

View File

@ -58,7 +58,7 @@ chmod 0600 .tmp/*
pushd site
hugo
if [ $? ne 0 ]
if [ "$?" -ne 0 ]
then
echo "Hugo build failed"
exit 1