Skip to content

Commit

Permalink
export app_env on deploy command
Browse files Browse the repository at this point in the history
  • Loading branch information
braceyourself committed Jan 5, 2025
1 parent df6b10e commit e17bfc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/compose
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e17bfc8

Please sign in to comment.