mirror of
https://github.com/elyby/chrly.git
synced 2024-11-27 01:01:59 +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:
|
stages:
|
||||||
- Tests
|
- Tests
|
||||||
- name: Deploy
|
- 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:
|
install:
|
||||||
- go get -u github.com/golang/dep/cmd/dep
|
- go get -u github.com/golang/dep/cmd/dep
|
||||||
|
Loading…
Reference in New Issue
Block a user