diff --git a/bin/deploy b/bin/deploy index dd2cb1455c4dbbbc161fc470ed5f78634dafe705..6fa5a89c633b9bf1dc9dba3c77ea9fb6e60a8d0b 100755 --- a/bin/deploy +++ b/bin/deploy @@ -9,6 +9,6 @@ sudo -u www-data git pull sudo -u www-data /var/www/venv-website/bin/python3 manage.py check sudo -u www-data /var/www/venv-website/bin/python3 manage.py migrate sudo -u www-data /var/www/venv-website/bin/python3 manage.py collectstatic -v0 --noinput --link -sudo systemctl restart apache2 +sudo systemctl reload apache2 curl --silent --head https://sfconservancy.org | grep --perl-regexp "^HTTP/.+ 200" EOF