echo when we restart nginx
This commit is contained in:
parent
215f545119
commit
c6ee55870f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user