Skip to content

Commit

Permalink
add after deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Scisco committed Sep 22, 2015
1 parent 21176a4 commit cada1da
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ deploy:
repo: developmentseed/landsat-util
branch: master

# after_deploy:
# if [ "$TRAVIS_BRANCH" == "master" ]; then
# echo "Start Docker Hub Push"
# docker build . -t developmentseed/landsat-util:0.7.0
# docker login -e ${DOCKER_EMAIL} -u ${DOCKER_USER} -p ${DOCKER_PASSWORD}
# docker push developmentseed/landsat-util:0.7.0
# fi
after_deploy:
if [ "$TRAVIS_BRANCH" == "master" ]; then
echo "Start Docker Hub Push"
docker build . -t developmentseed/landsat-util:0.7.0
docker login -e ${DOCKER_EMAIL} -u ${DOCKER_USER} -p ${DOCKER_PASSWORD}
docker push developmentseed/landsat-util:0.7.0
fi

0 comments on commit cada1da

Please sign in to comment.