From 3047a1a29ba0f3173479fc41ab3326863a894554 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 31 Aug 2015 19:35:31 +0200 Subject: [PATCH] nicer deploy UI --- .ci/deploy.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.ci/deploy.sh b/.ci/deploy.sh index 8983ad15..48c46ac8 100755 --- a/.ci/deploy.sh +++ b/.ci/deploy.sh @@ -2,7 +2,28 @@ set -e; +echo "$(tput setaf 136)" +echo " Starting assets CDN " +echo "=============================================" +echo "$(tput sgr0)" # reset + gulp s3:assets gulp cdn +echo "$(tput setaf 64)" # green +echo "---------------------------------------------" +echo " ✓ done assets CDN" +echo "$(tput sgr0)" # reset + + +echo "$(tput setaf 136)" +echo " Starting rsync deployment " +echo "=============================================" +echo "$(tput sgr0)" # reset + rsync --recursive --delete --delete-excluded --checksum --verbose -e "ssh" $TRAVIS_BUILD_DIR/_site/ kremalicious.com@ftp.kremalicious.com:/nfs/c08/h04/mnt/126308/domains/kremalicious.com/html/ + +echo "$(tput setaf 64)" # green +echo "---------------------------------------------" +echo " ✓ done rsync deployment " +echo "$(tput sgr0)" # reset