Skip to content

Instantly share code, notes, and snippets.

@jsloyer
Created November 13, 2014 13:03
Show Gist options
  • Save jsloyer/12f472bac138816d1f38 to your computer and use it in GitHub Desktop.
Save jsloyer/12f472bac138816d1f38 to your computer and use it in GitHub Desktop.
jazzhub deploy script before
cf push "${CF_APP}" -n "${CF_APP}-${CF_SPACE}"
# View logs
EXIT_CODE=$?
if [ $EXIT_CODE -ne 0 ]
then
cf logs "${CF_APP}" --recent
exit $EXIT_CODE
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment