diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2791b5d20b7d3fef94e2f68d26321570b046e458..5783451bfcdf694ee46cdc3d38e23d07baec43e5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,7 +38,8 @@ deploy to stage:
   - ssh-add <(echo "$SSH_PRIVATE_KEY")
   # 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
-  - 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:
   - gem install dpl
   - echo $CI_BUILD_REF_NAME