Skip to content

Commit

Permalink
reverting syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 authored Jul 8, 2019
1 parent 005a92e commit 1ad094a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ script:
- docker stop $(docker ps -a -q)
- docker rm $(docker ps -a -q)
after_success:
- stage: "deploy"
script:
- cd $TRAVIS_BUILD_DIR
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker push $REPO:$TAG
if: type NOT IN (pull_request)
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
cd $TRAVIS_BUILD_DIR;
docker login -u $DOCKER_USER -p $DOCKER_PASS;
docker push $REPO:$TAG;
fi;

0 comments on commit 1ad094a

Please sign in to comment.