Commit 790ec16d authored by James Runnalls's avatar James Runnalls
Browse files

Update .gitlab-ci.yml

parent 9c1b6a8d
Pipeline #7176 failed with stage
in 23 seconds
......@@ -30,9 +30,10 @@ scripts:
stage: build
image: $CI_REGISTRY_IMAGE:$IMAGE_COMMIT
before_script:
# Setup SSH deploy keys
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
script:
- ssh -tt centos@148.187.97.230
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment