Update build.sh

This commit is contained in:
Sergiu Toma 2022-11-18 11:42:01 +02:00
parent 9047e6c47d
commit 13829c5e6c
1 changed files with 2 additions and 2 deletions

View File

@ -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