Try to get current branch name
This commit is contained in:
parent
00be9c26bb
commit
2dff78b0ea
|
@ -49,6 +49,7 @@ notifications:
|
|||
# FIXME this needs refinement, obvs
|
||||
after_success:
|
||||
- "test $EMBER_VERSION == 'default' && test $TRAVIS_PULL_REQUEST && ember deploy prod --verbose >> deploy_output"
|
||||
- git symbolic-ref HEAD | sed 's!refs\/heads\/!!'
|
||||
- "cat deploy_output"
|
||||
- "cat deploy_output | grep 'revision=' | cut -d '=' -f 2 >> index_key"
|
||||
- "cat index_key"
|
||||
|
|
Loading…
Reference in New Issue
Block a user