deploy scripts with emojis

This commit is contained in:
Jérémy Lecour 2019-08-25 17:36:36 +02:00
parent 9a29a200ec
commit ead3b8b532
2 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,7 @@ if [ "${confirmed}" != "y" ]; then
exit 1
fi
echo "🚀 Deploying master to production !"
bundle exec cap production deploy
echo "😎 Done !"

View File

@ -6,7 +6,15 @@
set -e
[ -n "$DEBUG" ] && set -x
echo "👀 Fetching git repository information…"
git fetch origin --quiet
CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD`
echo "🚀 Deploying ${CURRENT_BRANCH} to staging !"
git branch -f staging
git push --force origin staging
bundle exec cap staging deploy
echo "😎 Done !"