mirror of
https://github.com/Evolix/chexpire.git
synced 2024-04-30 07:50:49 +02:00
deploy scripts with emojis
This commit is contained in:
parent
9a29a200ec
commit
ead3b8b532
|
@ -34,6 +34,7 @@ if [ "${confirmed}" != "y" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "🚀 Deploying master to production !"
|
||||||
bundle exec cap production deploy
|
bundle exec cap production deploy
|
||||||
|
|
||||||
echo "😎 Done !"
|
echo "😎 Done !"
|
||||||
|
|
|
@ -6,7 +6,15 @@
|
||||||
set -e
|
set -e
|
||||||
[ -n "$DEBUG" ] && set -x
|
[ -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 branch -f staging
|
||||||
git push --force origin staging
|
git push --force origin staging
|
||||||
|
|
||||||
bundle exec cap staging deploy
|
bundle exec cap staging deploy
|
||||||
|
|
||||||
|
echo "😎 Done !"
|
||||||
|
|
Loading…
Reference in a new issue