pillar/deploy.sh
Sybren A. Stüvel 3f9d519753 Added Dummy deploy script for people with a 'git pp' alias
For people with a 'git pp' alias to push to production. This are the
aliases I use to push & deploy changes to production:

    prod = "!git checkout production && git fetch origin production && gitk --all"
    ff = "merge --ff-only"
    pp = "!git push && if [ -e deploy.sh ]; then ./deploy.sh; fi && git checkout master"

Those are handy to make branch switches easy, and to ensure that you don't
accidentally continue work on the production branch after deploying.
2016-08-30 14:37:36 +02:00

9 lines
297 B
Bash
Executable File

#!/bin/bash
echo
echo "==========================================================================="
echo "Dummy deploy script for people with a 'git pp' alias to push to production."
echo "Run deploy script on your server project."
echo "When done, press [ENTER] to stop this script."
read dummy