Skip to content
Snippets Groups Projects
Commit 173b6934 authored by David Hrbáč's avatar David Hrbáč
Browse files

test ssh the stage

parent 3eed2bb3
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@ deploy to stage:
before_script:
# install ssh-agent
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- 'which rsync || ( apt-get update -y && apt-get install rsync -y )'
# run ssh-agent
- eval $(ssh-agent -s)
# add ssh key stored in SSH_PRIVATE_KEY variable to the agent store
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment