From 5cd45d64094d7ed63df0639667cdc682c2555796 Mon Sep 17 00:00:00 2001 From: Andreas Fehn <andreas.fehn@tu-dresden.de> Date: Mon, 23 Jul 2018 09:05:17 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c0e613..8c19716 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,9 @@ publish: stage: deploy image: bravissimolabs/alpine-git before_script: + - mkdir -p ~/.ssh + - echo "$SSH_SECRET_DEPLOY_KEY" | tr -d '\r' > ~/.ssh/id_rsa + - chmod 600 ~/.ssh/id_rsa - git config user.name "$GITLAB_USER_NAME" - git config user.email "$GITLAB_USER_EMAIL" - export VERSION=${CI_COMMIT_TAG:-`git describe --tags --always`} -- GitLab