We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c60687d + a2706a9 commit d5aa6b3Copy full SHA for d5aa6b3
.travis.yml
@@ -16,10 +16,10 @@ matrix:
16
script:
17
- yarn lint
18
after_success:
19
- - if [ $TRAVIS_BRANCH == "master" ] then
+ - if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_PULL_REQUEST == "false" ]; then
20
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS";
21
export REPO="democracy/democracy-server";
22
- docker build -f Dockerfile -t $REPO:$COMMIT .
+ docker build -f Dockerfile -t $REPO:$COMMIT .;
23
docker push $REPO;
24
fi
25
after_script:
0 commit comments