diff --git a/build.sh b/build.sh index 041c169..68bac6c 100755 --- a/build.sh +++ b/build.sh @@ -15,6 +15,7 @@ fi ## PROJECT NEEDS echo "Building app... from $(git rev-parse --abbrev-ref HEAD)" #npm run-script build +cp .env.example .env cp -r {.env,app.js,package.json,server,public} dist/ #Add version control for pm2 @@ -44,5 +45,4 @@ fi ## POST BUILD cd - - - +rm .env \ No newline at end of file