From 5bd0dc44ee917f147d70d0ca2803ee5fa6c6aa79 Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Fri, 24 Aug 2018 15:07:45 +0200 Subject: [PATCH] Enable build process to commit and push --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d0cb505..5cd8184 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,16 @@ image: "registry.gitlab.eelo.io:5000/eelo/docker-wget:latest" stages: - update +before_script: + - eval $(ssh-agent -s) + - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh + - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts + - chmod 644 ~/.ssh/known_hosts + - git config --global user.email "mr.robot@eelo.io" + - git config --global user.name "Mr. Robot" + udpate-apk: stage: update variables: -- GitLab