From b1898dd496ab8c9b75c6af7c2a32c027e16d1897 Mon Sep 17 00:00:00 2001 From: komarov Date: Sun, 5 Apr 2020 01:02:57 +0300 Subject: [PATCH] test 16 --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 329b422..847c3d4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,8 +14,8 @@ steps: PUBLIC: from_secret: DEPLOY_KEY_PUBLIC commands: - - eval "$(ssh-agent)" - - mkdir $HOME/.ssh && echo "$KEY" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa && echo "$PUBLIC" > $HOME/.ssh/id_rsa.pub && ssh-add $HOME/.ssh/id_rsa" + - mkdir $HOME/.ssh && echo "$KEY" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa && echo "$PUBLIC" > $HOME/.ssh/id_rsa.pub && ssh-agent sh -c "ssh-add $HOME/.ssh/id_rsa && ssh-add -l" + - ssh-keyscan -t rsa gitea.torrion-vault.xyz >> $HOME/.ssh/known_hosts - git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git - git checkout $DRONE_COMMIT - name: build_php_base