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

test ssh the stage

parent 424adcc2
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,8 @@ deploy to stage: ...@@ -38,7 +38,8 @@ deploy to stage:
- ssh-add <(echo "$SSH_PRIVATE_KEY") - ssh-add <(echo "$SSH_PRIVATE_KEY")
# disable host key checking (NOTE: makes you susceptible to man-in-the-middle attacks) # disable host key checking (NOTE: makes you susceptible to man-in-the-middle attacks)
# WARNING: use only in docker container, if you use it with shell you will overwrite your user's ssh config # WARNING: use only in docker container, if you use it with shell you will overwrite your user's ssh config
- mkdir -p ~/.ssh - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
script: script:
- gem install dpl - gem install dpl
- echo $CI_BUILD_REF_NAME - echo $CI_BUILD_REF_NAME
......
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