mirror of
https://github.com/elyby/chrly.git
synced 2024-11-30 02:32:19 +05:30
Allow to skip deployment with [skip deploy] commit message part
This commit is contained in:
parent
45a93deb24
commit
06b61e1603
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user