diff --git a/rc_shared.sh b/rc_shared.sh index 517ed21..034b6d4 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -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 }