diff --git a/tasks/ghpublish b/tasks/ghpublish index 5dbaa4d24..85b91fc2c 100755 --- a/tasks/ghpublish +++ b/tasks/ghpublish @@ -10,6 +10,11 @@ function debug { eval $* } +if [[ $1 = '--unsafe' ]]; then + log "UNSAFE no compilation" +fi + + current_branch=$(git branch | egrep '^\*' | awk '{print $2}') cd $rootdir || { print -- "Unable to go to $HOME/Sites/webroot"; exit 1 }