From 06b61e16036ce66bd825230840453154972cd3d1 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Wed, 22 Apr 2020 02:50:33 +0300 Subject: [PATCH] Allow to skip deployment with [skip deploy] commit message part --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ea474d3..f03cc86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ go: stages: - Tests - name: Deploy - if: env(TRAVIS_PULL_REQUEST) IS false AND (branch = master OR tag IS present) + if: env(TRAVIS_PULL_REQUEST) IS false AND (branch = master OR tag IS present) AND commit_message !~ /(\[skip deploy\])/ install: - go get -u github.com/golang/dep/cmd/dep