ci: deploy code and docs for release branches

Currently deploy happens only for the master branch.
This change is needed to support release branches.
This commit is contained in:
Ivan Grokhotkov 2017-01-20 15:46:09 +08:00
parent 92b9ed8342
commit b4a29f5240

View file

@ -206,6 +206,7 @@ push_master_to_github:
stage: deploy
only:
- master
- /^release\/v.*$/
tags:
- deploy
when: on_success
@ -229,6 +230,7 @@ deploy_docs:
stage: deploy
only:
- master
- /^release\/v.*$/
- triggers
tags:
- deploy