added jekyll build error handling for publish.sh