From 3609eeb7f68f3fd0801c9d336c52bfbf3cb8063a Mon Sep 17 00:00:00 2001 From: komarov Date: Sat, 18 Apr 2020 19:31:37 +0300 Subject: [PATCH] test --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e11c11b..a569fc0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,7 @@ steps: - 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 - - resolveip -s gitea.local + - (ping -q -c 1 -t 1 gitea.local | grep PING | sed -e "s/).*//" | sed -e "s/.*(//") >> $HOME/.ssh/known_hosts - ssh-keyscan -t rsa -p 2222 -H gitea.local >> $HOME/.ssh/known_hosts - git clone $GIT_REPOSITORY ./ - git checkout $DRONE_COMMIT