diff --git a/.drone.yml b/.drone.yml index 696cd8f..a97a0c9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,8 +17,8 @@ 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 && ssh-keyscan -p 2222 -H 104.248.32.133 >> $HOME/.ssh/known_hosts && ssh-keyscan -p 2222 -H gitea.torrion-vault.xyz >> $HOME/.ssh/known_hosts - - git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git - - cd arbitry && git checkout $DRONE_COMMIT + - git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git ./ + - git checkout $DRONE_COMMIT - name: build_php_base image: plugins/docker settings: