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 {
|
||||
if [[ -d .git ]]; then
|
||||
echo "Recognized git project, promoting branch to stage and prod."
|
||||
git push && eval load-stage && eval load-prod
|
||||
else
|
||||
echo "Not a git repo, attempting to sync to SFTP server."
|
||||
send-master
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user