From e49abcbf38f8bc2d69d77ed77bc0a03d51dcc281 Mon Sep 17 00:00:00 2001 From: komarov Date: Sun, 5 Apr 2020 21:50:32 +0300 Subject: [PATCH] test 33 --- .drone.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.drone.yml b/.drone.yml index 97b6095..39106eb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,24 +2,24 @@ kind: pipeline type: docker name: build -#clone: -# disable: true +clone: + disable: true steps: -# - name: clone -# image: docker:git -# environment: -# KEY: -# from_secret: DEPLOY_KEY -# 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 && ssh-keyscan -t rsa gitea.torrion-vault.xyz >> $HOME/.ssh/known_hosts -# - ssh -# - git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git -# - git checkout $DRONE_COMMIT + - name: clone + image: docker:git + environment: + KEY: + from_secret: DEPLOY_KEY + 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 && ssh-keyscan -t rsa gitea.torrion-vault.xyz >> $HOME/.ssh/known_hosts + - ssh + - git clone https://gitea.torrion-vault.xyz/Torrion/arbitry.git + - git checkout $DRONE_COMMIT - name: build_php_base image: plugins/docker settings: