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.
This commit is contained in:
parent
3039aef7d3
commit
3f9d519753
8
deploy.sh
Executable file
8
deploy.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/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
|
Loading…
x
Reference in New Issue
Block a user