From f2690f81c5251e29739ea25c15de50a85624332c Mon Sep 17 00:00:00 2001 From: Christian Darsow-Fromm <christian.darsow@physik.uni-hamburg.de> Date: Wed, 6 Mar 2019 19:06:04 +0100 Subject: [PATCH] also deploy master to rrz --- .gitlab-ci.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ceeaa00..1606028 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,4 @@ stages: - - testing - build - test - deploy @@ -112,9 +111,9 @@ deploy staging documentation: only: - develop -deploy rrz: +deploy rrz tag: image: alpine - stage: testing # TODO change to deploy + stage: deploy before_script: - sh bin/enable_ssh - apk add git @@ -123,6 +122,17 @@ deploy rrz: only: - tags +deploy rrz master: + image: alpine + stage: deploy + before_script: + - sh bin/enable_ssh + - apk add git + script: + - git push $PUBLIC_REPO + only: + - master + test pip deployment: image: python:3 stage: deploy-test -- GitLab