echo when we restart nginx

This commit is contained in:
Annika Backstrom 2024-05-19 00:49:19 +01:00
parent 215f545119
commit c6ee55870f
Signed by: annika
GPG Key ID: 3561F004DE1D9AFE

View File

@ -9,5 +9,6 @@ ssh deploy.sixohthree.com "dsh -M -c -r ssh -g webs -- rsync -hvrz --delete -C -
ssh deploy.sixohthree.com "rm -rf /tmp/gitea_${GITHUB_RUN_NUMBER}_${GITHUB_SHA}" ssh deploy.sixohthree.com "rm -rf /tmp/gitea_${GITHUB_RUN_NUMBER}_${GITHUB_SHA}"
if [ "$RESTART_NGINX" = "yes" ]; then if [ "$RESTART_NGINX" = "yes" ]; then
echo "Restarting nginx..."
ssh deploy.sixohthree.com "dsh -M -c -r ssh -g webs -- sudo systemctl reload nginx" ssh deploy.sixohthree.com "dsh -M -c -r ssh -g webs -- sudo systemctl reload nginx"
fi fi