fix build
This commit is contained in:
parent
6fd6ca9755
commit
af53dc1610
8
build.sh
8
build.sh
@ -9,13 +9,19 @@ else
|
||||
## CLEANUP
|
||||
rm -fr dist/*
|
||||
fi
|
||||
|
||||
if [ -d "node_modules" ]; then
|
||||
rm -fr node_modules
|
||||
fi
|
||||
|
||||
# Install dependencies
|
||||
#npm install
|
||||
|
||||
## PROJECT NEEDS
|
||||
echo "Building app... from $(git rev-parse --abbrev-ref HEAD)"
|
||||
#npm run-script build
|
||||
cp -r {.env,app.js,package.json,server,public} dist/
|
||||
#cp -r {.env,app.js,package.json,server,public} dist/
|
||||
cp -r . dist/
|
||||
|
||||
#Add version control for pm2
|
||||
cd dist
|
||||
|
Loading…
Reference in New Issue
Block a user