Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CI error handling
- bundle exec jekyll build 2>&1 | tee output.log
- grep -i "error" output.log > /dev/null ; test $? -ne 0 # fail if there is an error in output.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.