Loading .gitlab-ci.yml +4 −4 Original line number Diff line number Diff line variables: SAREF_DEV_KEY: <my_private_key> SAREF_PORTAL_KEY: <my_private_key> DEV_KEY: <my_private_key> PORTAL_KEY: <my_private_key> stages: - pipeline Loading Loading @@ -45,7 +45,7 @@ staging: stage: staging script: - eval $(ssh-agent -s) - ssh-add <(echo "$SAREF_DEV_KEY") - ssh-add <(echo "$DEV_KEY") - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - scp -pr target/site saref-dev@saref.etsi.org:~/staging/$CI_PIPELINE_ID Loading @@ -58,7 +58,7 @@ deploy: when: manual script: - eval $(ssh-agent -s) - ssh-add <(echo "$SAREF_PORTAL_KEY") - ssh-add <(echo "$PORTAL_KEY") - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - rsync -rcv error-documents/ saref-portal@saref.etsi.org:~/error-documents Loading Loading
.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line variables: SAREF_DEV_KEY: <my_private_key> SAREF_PORTAL_KEY: <my_private_key> DEV_KEY: <my_private_key> PORTAL_KEY: <my_private_key> stages: - pipeline Loading Loading @@ -45,7 +45,7 @@ staging: stage: staging script: - eval $(ssh-agent -s) - ssh-add <(echo "$SAREF_DEV_KEY") - ssh-add <(echo "$DEV_KEY") - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - scp -pr target/site saref-dev@saref.etsi.org:~/staging/$CI_PIPELINE_ID Loading @@ -58,7 +58,7 @@ deploy: when: manual script: - eval $(ssh-agent -s) - ssh-add <(echo "$SAREF_PORTAL_KEY") - ssh-add <(echo "$PORTAL_KEY") - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - rsync -rcv error-documents/ saref-portal@saref.etsi.org:~/error-documents Loading