Merge branch 'master' into 'master'

Added /cpanel command

See merge request !4
1 job for master in 48 seconds (queued for 11 minutes and 45 seconds)
Status Job ID Name Coverage
failed #820292024


Name Stage Failure
deploy Deploy
$ mkdir -p ~/.ssh
$ echo "$DEPLOY_KEY" | tr -d '\r' | ssh-add - > /dev/null
Identity added: (stdin) (dpefe@DESKTOP-5H8L8D6)
$ chmod 700 ~/.ssh
$ [[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
$ ssh -o StrictHostKeyChecking=no "$SSH_USERNAME"@"$SERVER_IP" -p "$SERVER_PORT" "cd ${WORK_DIR}; pm2 stop openbot; rm -rf open-telegram-bot-nodejs; git init; git clone -b ${BRANCH} ${REPO}; cp ${FILE_CONFIG_BOT} ${CP_FILE_CONFIG_BOT}; cd ${BOT_INDEX}; npm install; pm2 restart openbot"
ssh: connect to host port 21550: Operation timed out
Cleaning up file based variables
ERROR: Job failed: exit code 255