alter deploy
This commit is contained in:
@@ -118,11 +118,13 @@ if [ -e "$DEPLOYMENT_TARGET/package.json" ]; then
|
||||
fi
|
||||
|
||||
# 4. Install bower packages
|
||||
if [ -e "$DEPLOYMENT_SOURCE/bower.json" ]; then
|
||||
if [ -e "$DEPLOYMENT_TARGET/bower.json" ]; then
|
||||
cd "$DEPLOYMENT_TARGET"
|
||||
eval $NPM_CMD install bower
|
||||
exitWithMessageOnError "installing bower failed"
|
||||
./node_modules/.bin/bower install
|
||||
exitWithMessageOnError "bower failed"
|
||||
cd - > /dev/null
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user