From 7f65ec0ed30681424989410d392c03761c72e4b7 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 18 Dec 2022 16:48:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BA=D0=B0=20CICD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 86a8412..328bc08 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,20 +19,20 @@ steps: from_secret: GPG_PASSPHRASE SSH_KEY: from_secret: SSH_KEY - SSH_CONFIG: - from_secret: SSH_CONFIG + # SSH_CONFIG: + # from_secret: SSH_CONFIG commands: - eval $(ssh-agent -s) - mkdir -p ~/.ssh - chmod 700 ~/.ssh - - echo "$SSH_KEY" >> ~/.ssh/id_rsa - - echo "$SSH_CONFIG" >> ~/.ssh/config + # - echo "$SSH_KEY" >> ~/.ssh/id_rsa + # - echo "$SSH_CONFIG" >> ~/.ssh/config - echo "$SSH_KEY" | ssh-add - - ssh-keyscan -p 222 git.struchkov.dev >> ~/.ssh/known_hosts - echo "test" >> test.txt - git add --all - git commit -m test - - git remote add deploy ssh://git@public-git/Godfather-Bots/godfather.git + - git remote add deploy ssh://git@git.struchkov.dev:222/Godfather-Bots/godfather.git - git remote -v - git push deploy HEAD:master