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 5b0473a + 5a4db52 commit c60687dCopy full SHA for c60687d
.travis.yml
@@ -16,11 +16,10 @@ matrix:
16
script:
17
- yarn lint
18
after_success:
19
- # docker on master branch
20
- - if [ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false"]; then
+ - if [ $TRAVIS_BRANCH == "master" ] then
21
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS";
22
export REPO="democracy/democracy-server";
23
- docker build -f Dockerfile -t $REPO:$COMMIT .;
+ docker build -f Dockerfile -t $REPO:$COMMIT .
24
docker push $REPO;
25
fi
26
after_script:
0 commit comments