From c6ee55870fbe927257a0b5ba5f0fcb6f2fa5d7ec Mon Sep 17 00:00:00 2001 From: Annika Backstrom Date: Sun, 19 May 2024 00:49:19 +0100 Subject: [PATCH] echo when we restart nginx --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index bb64088..77749be 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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}" if [ "$RESTART_NGINX" = "yes" ]; then + echo "Restarting nginx..." ssh deploy.sixohthree.com "dsh -M -c -r ssh -g webs -- sudo systemctl reload nginx" fi