Skip to content

Commit

Permalink
set env on deploy run
Browse files Browse the repository at this point in the history
  • Loading branch information
braceyourself committed Jan 5, 2025
1 parent 0cd5f51 commit 555c777
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/compose
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ spin(){
# Main
#############################################

# check $1 is deploy
if [ "$1" == "deploy" ]; then
# set APP_ENV to production
export APP_ENV=production
fi

publishFiles

# Determine the command to run...
Expand Down

0 comments on commit 555c777

Please sign in to comment.