1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-09-24 01:58:50 +02:00

nicer deploy UI

This commit is contained in:
Matthias Kretschmann 2015-08-31 19:35:31 +02:00
parent e4c49cc53a
commit 3047a1a29b

View File

@ -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