gitlab-ci: add gitlab_deploy key

This commit is contained in:
makefu 2019-07-07 13:45:53 +02:00
parent d6c59731dd
commit 0caf7f5b4f
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
1 changed files with 2 additions and 0 deletions

View File

@ -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