update
This commit is contained in:
parent
e8aaf5212a
commit
0ace585ab7
@ -141,7 +141,7 @@ fi
|
||||
# Install global packages.
|
||||
npm set progress=false
|
||||
|
||||
if [[ $UPDATE = "YES" ]]; then
|
||||
if [[ $INSTALL = "YES" ]]; then
|
||||
fancy_echo "${YELLOW}Installing Node Global Packages...${RESET}"
|
||||
npm install -g gulp bower pm2@latest npm-check npm-install-missing ember-cli phantomjs-prebuilt
|
||||
pm2 update
|
||||
@ -170,6 +170,7 @@ cd $DEV
|
||||
# git pull origin master
|
||||
|
||||
#fi
|
||||
if [[ $DATABASE = "YES" ]]; then
|
||||
|
||||
if [ ! -d "$DEV/$SERVER/.git" ]; then
|
||||
git clone $GIT_SERVER
|
||||
@ -194,6 +195,8 @@ gulp default
|
||||
|
||||
rsync -uav --exclude .git --exclude app $DEV/$SERVER/ $STAGING
|
||||
|
||||
fi
|
||||
|
||||
# fancy_echo "${YELLOW}Copying files to LIVE...${RESET}"
|
||||
# rsync -uav --exclude .git $STAGING/ $LIVE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user