Skip to content
Snippets Groups Projects
Commit 1d579800 authored by Sydney Anne Erickson's avatar Sydney Anne Erickson :chipmunk:
Browse files

Update .gitlab-ci.yml

parent 7887ea8e
Branches
No related tags found
No related merge requests found
...@@ -6,9 +6,10 @@ before_script: ...@@ -6,9 +6,10 @@ before_script:
- rm -rf ~/.ssh - rm -rf ~/.ssh
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- echo $SSH_PRIVATE_KEY > ~/.ssh/id_rsa
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- echo $SSH_PRIVATE_KEY > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- ssh-keyscan -t rsa $GITLAB_SERVER > ~/.ssh/known_hosts - ssh-keyscan -t rsa $GITLAB_SERVER > ~/.ssh/known_hosts
- rm -rf ~/.gitconfig - rm -rf ~/.gitconfig
- git config --global url."git@$GITLAB_SERVER:".insteadOf "https://gitlab.com/" - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://gitlab.com/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment