generated from me/template-mit
Add output regarding how the folder is being pushed.
This commit is contained in:
@@ -257,8 +257,10 @@ function pull {
|
|||||||
|
|
||||||
function push {
|
function push {
|
||||||
if [[ -d .git ]]; then
|
if [[ -d .git ]]; then
|
||||||
|
echo "Recognized git project, promoting branch to stage and prod."
|
||||||
git push && eval load-stage && eval load-prod
|
git push && eval load-stage && eval load-prod
|
||||||
else
|
else
|
||||||
|
echo "Not a git repo, attempting to sync to SFTP server."
|
||||||
send-master
|
send-master
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user