From 47655775be54714c182e050877595804cb00f1fc Mon Sep 17 00:00:00 2001 From: Distopico Vegan Date: Mon, 12 Nov 2018 22:41:04 -0500 Subject: [PATCH] fix CI config --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a008d42..77fa6f9c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,9 +101,9 @@ release: script: - npm install -g semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/exec @semantic-release/git @semantic-release/gitlab - eval $(ssh-agent -s) - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - #- ssh-add <(echo "$GIT_SSH_KEY") - - ssh-keyscan $GITLAB_URL >> ~/.ssh/known_hosts + #- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null + - ssh-add -q <(echo "$GIT_SSH_KEY") + - mkdir -p ~/.ssh && ssh-keyscan $GITLAB_URL >> ~/.ssh/known_hosts - git config --global user.email $GIT_AUTHOR_EMAIL - git config --global user.name $GIT_AUTHOR_NAME - semantic-release