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

Minor Fix

parent 3757ac3e
Pipeline #92637588 failed with stage
in 37 seconds
......@@ -3,7 +3,6 @@ variables:
WORK_DIR: ${CI_PROJECT_NAME}
BRANCH: ${CI_COMMIT_REF_NAME}
REPO: https://gitlab.com/Tecnonucleous/open-telegram-bot-nodejs.git
SSH_PRIVATE_KEY: $PRIVATE_KEY
SERVER_IP: $SERVER_IP
SERVER_PORT: $SERVER_PORT
SSH_USERNAME: $SSH_USERNAME
......@@ -17,7 +16,7 @@ deploy:
- apk add --update openssh bash openssl gettext
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- mv "$PRIVATE_KEY" ~/.ssh/id_rsa
- mv "$DEPLOY_KEY" ~/.ssh/id_rsa
- chmod 700 ~/.ssh/id_rsa
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh-keyscan -H domain.com >> ~/.ssh/known_hosts
......
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