|
|
@@ -15,7 +15,7 @@ steps: |
|
|
|
from_secret: DEPLOY_KEY_PUBLIC |
|
|
|
commands: |
|
|
|
- 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-keyscan -t rsa gitea.torrion-vault.xyz >> $HOME/.ssh/known_hosts" |
|
|
|
- git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git |
|
|
|
- git clone git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git |
|
|
|
- git checkout $DRONE_COMMIT |
|
|
|
- name: build_php_base |
|
|
|
image: plugins/docker |
|
|
|