Add deployment link to log

My eventual goal is to use the GitHub Status API to add
this link to the pull request page, but I’m not currently
sure how to accomplish that.
This commit is contained in:
Buck Doyle 2016-04-14 12:45:07 +02:00
parent 770e708552
commit 0887bf9cde

View File

@ -48,4 +48,5 @@ notifications:
# FIXME this needs refinement, obvs
after_success:
"test $EMBER_VERSION == 'default' && ember deploy prod"
- "test $EMBER_VERSION == 'default' && ember deploy prod | grep 'revision=' | cut -d '=' -f 2 >> index_key"
- "echo 'Access the deployment at https://travis-web-production-next.herokuapp.com/?index_key=`cat index_key`'"