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

Fixed ssh error

parent a34d343c
Pipeline #92539106 failed with stage
in 50 seconds
......@@ -20,5 +20,5 @@ deploy:
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh-add <(echo "$PRIVATE_KEY")
- ssh-add <(echo "$PRIVATE_KEY" | base64 -d)
- 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