From a37872489ce634048ac34ab65c09a426d58f68ea Mon Sep 17 00:00:00 2001 From: Timothy Kim Date: Fri, 20 Mar 2026 19:57:45 -0400 Subject: [PATCH] add certbot email, pin git pull to origin main --- scripts/deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 1ba1a55..f18fda3 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -26,7 +26,7 @@ NGINXCONF trap 'rm -f "/opt/hantim/docker/nginx/conf.d/$APP.conf"' EXIT docker exec nginx nginx -t && docker exec nginx nginx -s reload certbot certonly --webroot -w /opt/hantim/docker/nginx/certbot/www \ - --non-interactive --agree-tos --register-unsafely-without-email \ + --non-interactive --agree-tos -m timothykim@fastmail.fm \ --cert-name "$APP" -d "$APP" -d "www.$APP" rm -f "/opt/hantim/docker/nginx/conf.d/$APP.conf" trap - EXIT @@ -36,7 +36,7 @@ fi if [ "$CMD" = "provision" ]; then cd /opt/hantim - git pull + git pull origin main bash scripts/configure.sh exit 0 fi @@ -48,7 +48,7 @@ fi APP="${CMD#deploy-}" cd /opt/hantim -git pull +git pull origin main # Re-exec so the running script reflects any changes just pulled if [ -z "${DEPLOY_REEXEC:-}" ]; then