From 0887bf9cdede3baf1e059e19651cf080ba51076f Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Thu, 14 Apr 2016 12:45:07 +0200 Subject: [PATCH] Add deployment link to log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 32d5219f..a037c483 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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`'"