From 04bea552910dd274054ffe851b3f6aa85a022975 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Tue, 13 Feb 2018 20:51:49 -0600 Subject: [PATCH] Adding ssh config to deploy --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dc53451..e78496c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,8 @@ build-resume: deploy-resume: stage: deploy script: + - eval $(ssh-agent -s) && ssh-add <(echo "$SSH_PRIVATE_KEY") && mkdir -p ~/.ssh + - git config --global user.email "gitlab-runner@shinigami.sothr.com" && git config --global user.name "GitLab Runner" - ./package-and-deploy.sh only: - master