summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-07-07 13:45:53 +0200
committermakefu <github@syntax-fehler.de>2019-07-07 13:45:53 +0200
commit0caf7f5b4f93518f874603fc433a9a681fb8b46d (patch)
treefcb9b08e0ab93e9f25f193c42ff88da52e516d22
parentd6c59731dd979bf4b5e20d85ab518e98b8d8c8ed (diff)
gitlab-ci: add gitlab_deploy key
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f6f59f0e7..acbfd3beb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,8 @@ before_script:
- chmod 600 ~/.ssh/github_deploy.key
- ssh-keyscan -H 'github.com' >> ~/.ssh/known_hosts
# prepare git fetching of secrets
+ - echo "$gitlab_deploy_privkey" > ~/.ssh/gitlab_deploy.key
+ - chmod 600 ~/.ssh/gitlab_deploy.key
- ssh-keyscan -H 'git.shackspace.de' >> ~/.ssh/known_hosts
# import secret key for secrets
- echo "$secrets_gpg_key" | gpg --import