Commitad6af41unknown_key
fix(deploy): quote EMAIL_FROM in /etc/gluecron.env
fix(deploy): quote EMAIL_FROM in /etc/gluecron.env The deploy script was writing: EMAIL_FROM=gluecron <no-reply@gluecron.com> When the script then source'd the env file, bash interpreted '<' as a file-read redirect, throwing 'syntax error near unexpected token newline' and aborting the deploy before migrations could run. Quoting the value fixes it. Discovered when the new vultr-deploy.yml workflow tried its first deploy and failed at exactly this line.
1 file changed+1−1ad6af411f9e5b0c7fb9aeb4817b614f8f89621a5
1 changed file+1−1
Modifiedscripts/deploy-crontech.sh+1−1View fileUnifiedSplit
@@ -82,7 +82,7 @@ GIT_REPOS_PATH=${BARE_REPOS}
8282PORT=${PORT}
8383DEMO_SEED_ON_BOOT=1
8484EMAIL_PROVIDER=log
85EMAIL_FROM=gluecron <no-reply@${SITE_DOMAIN}>
85EMAIL_FROM="gluecron <no-reply@${SITE_DOMAIN}>"
8686NODE_ENV=production
8787EOF
8888chmod 600 /etc/gluecron.env
8989