From e1db6ff2d36bececce5a8022deb543a84ed85ecd Mon Sep 17 00:00:00 2001 From: Michele Chilanti Date: Tue, 9 Jul 2019 03:06:11 -0500 Subject: [PATCH] Added a branch condition to the deploy stage (#3) * Initial code drop * Added readme and .travis.yml * Made docker org an env var. * added a deploy phase * Adjusted deploy phase * Added on branches to deploy * Removed unnecessary blank line --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1baae81..4ad29d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,5 +4,9 @@ os: services: - docker deploy: + on: + branches: + only: + - master provider: script - script: bash ./docker-build.sh + script: bash ./docker-build.sh \ No newline at end of file