Commit 0761ed88 authored by Daniel Pérez Fernández's avatar Daniel Pérez Fernández 🕶
Browse files

Test 4

parent cc01d321
Pipeline #92946598 passed with stage
in 40 seconds
......@@ -24,7 +24,7 @@ deploy:
# Add deploy key to ssh directory
- echo "$DEPLOY_KEY" | tr -d '\r' | ssh-add - > /dev/null
- chmod 700 ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
- ssh -o StrictHostKeyChecking=no "$SSH_USERNAME"@"$SERVER_IP" -p "$SERVER_PORT" "cd ${WORK_DIR}; git init; git clone -b ${BRANCH} ${REPO};"
\ 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