From 8676b539c644e16b43a2293933742f649e591636 Mon Sep 17 00:00:00 2001
From: Christian Darsow-Fromm <christian.darsow@physik.uni-hamburg.de>
Date: Wed, 6 Mar 2019 17:14:23 +0100
Subject: [PATCH] test

---
 .gitlab-ci.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 67cee29..78030f6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,7 @@ variables:
   PIP_CACHE_DIR: "$CI_PROJECT_DIR/.pip"
   PIP_EXTRA_FLAGS: --trusted-host las-nq-serv.physnet.uni-hamburg.de --extra-index-url http://las-nq-serv.physnet.uni-hamburg.de:8080
   RUNNING_IN_DOCKER: 'true'
+  PUBLIC_REPO: git@gitlab.rrz.uni-hamburg.de:las-nq/nqontrol
 
 package:
   image: lasnq/nqontrol
@@ -118,8 +119,10 @@ deploy rrz:
     - sh bin/enable_ssh
     - apk add git
   script:
-    - ssh git@gitlab.rrz.uni-hamburg.de
-    - git log
+    - git clone --depth=1 file://`pwd` tmp
+    - cd tmp
+    - git push --force $PUBLIC_REPO HEAD:master
+    # - git push $PUBLIC_REPO $CI_COMMIT_TAG
   only:
     - master # TODO remove
     - tags
-- 
GitLab