Skip to content

Commit d5aa6b3

Browse files
authored
Merge pull request #16 from demokratie-live/sprint#5/travis
syntax
2 parents c60687d + a2706a9 commit d5aa6b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ matrix:
1616
script:
1717
- yarn lint
1818
after_success:
19-
- if [ $TRAVIS_BRANCH == "master" ] then
19+
- if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_PULL_REQUEST == "false" ]; then
2020
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS";
2121
export REPO="democracy/democracy-server";
22-
docker build -f Dockerfile -t $REPO:$COMMIT .
22+
docker build -f Dockerfile -t $REPO:$COMMIT .;
2323
docker push $REPO;
2424
fi
2525
after_script:

0 commit comments

Comments
 (0)