From b4a29f52404fb82988f44230a5a421a256d25a44 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Fri, 20 Jan 2017 15:46:09 +0800 Subject: [PATCH] ci: deploy code and docs for release branches Currently deploy happens only for the master branch. This change is needed to support release branches. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9814a652b..da957619a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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