sssssh
This commit is contained in:
parent
8e3d35a4e1
commit
ab28fdc4d4
@ -185,7 +185,7 @@ if [[ $UPDATE = "YES" ]]; then
|
||||
|
||||
# Rebuild front end
|
||||
cd $DEV/$FRONT
|
||||
rsync -uav -P --exclude .git $DEV/$FRONT/ $STAGING/$FRONT
|
||||
rsync -uav -q --exclude .git $DEV/$FRONT/ $STAGING/$FRONT
|
||||
cd $STAGING/$FRONT
|
||||
|
||||
npm install . && npm-install-missing
|
||||
@ -194,16 +194,15 @@ if [[ $UPDATE = "YES" ]]; then
|
||||
|
||||
# Rebuild backend end
|
||||
cd $DEV/$SERVER
|
||||
rsync -uav -P --exclude .git $DEV/$SERVER/ $STAGING/$SERVER
|
||||
rsync -uav -q --exclude .git $DEV/$SERVER/ $STAGING/$SERVER
|
||||
cd $STAGING/$SERVER
|
||||
|
||||
npm install . && npm-install-missing
|
||||
bower install
|
||||
|
||||
# Update live versions
|
||||
fancy_echo "${YELLOW}Copying files to LIVE...${RESET}"
|
||||
rsync -uav --delete-delay -P --exclude .git $STAGING/$SERVER/ $LIVE/$STAGING
|
||||
rsync -uav --delete-delay -P --exclude .git --exclude app $STAGING/$FRONT/ $LIVE/$FRONT
|
||||
rsync -uav --delete-delay -q --exclude .git $STAGING/$SERVER/ $LIVE/$SERVER
|
||||
rsync -uav --delete-delay -q --exclude .git --exclude app $STAGING/$FRONT/ $LIVE/$FRONT
|
||||
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user