Update .gitlab-ci.yml

This commit is contained in:
Maximilian Keßler 2021-10-24 05:04:36 +00:00
parent b8678b1f6c
commit 0081eca3da

View file

@ -9,6 +9,7 @@ get-build-repo: # This job runs in the build stage, which runs first.
- apt-get update -y && apt-get install -yqqf openssh-client git unzip sshpass rsync --fix-missing
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'
- eval $(ssh-agent -s)
- echo "$GITLAB_DEPLOY_KEY"
- echo "$GITLAB_DEPLOY_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh