From e17bfc8e59d2785cf2c74448df7586ef3ae5528d Mon Sep 17 00:00:00 2001 From: braceyourself Date: Sun, 5 Jan 2025 09:34:40 -0500 Subject: [PATCH] export app_env on deploy command --- bin/compose | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/compose b/bin/compose index 1d696a6..a57e5d0 100755 --- a/bin/compose +++ b/bin/compose @@ -162,6 +162,10 @@ spin(){ # Main ############################################# +# if command is 'deploy', set APP_ENV to production +if [ "$1" == "deploy" ]; then + export APP_ENV=production +fi publishFiles