|
@@ -11,8 +11,10 @@ steps: |
|
|
environment: |
|
|
environment: |
|
|
KEY: |
|
|
KEY: |
|
|
from_secret: DEPLOY_KEY |
|
|
from_secret: DEPLOY_KEY |
|
|
|
|
|
PUBLIC: |
|
|
|
|
|
from_secret: DEPLOY_KEY_PUBLIC |
|
|
commands: |
|
|
commands: |
|
|
- mkdir $HOME/.ssh && echo "$KEY" > $HOME/.ssh/id_rsa |
|
|
|
|
|
|
|
|
- mkdir $HOME/.ssh && echo "$KEY" > $HOME/.ssh/id_rsa && echo "$PUBLIC" > $HOME/.ssh/id_rsa.pub |
|
|
- git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git |
|
|
- git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git |
|
|
- git checkout $DRONE_COMMIT |
|
|
- git checkout $DRONE_COMMIT |
|
|
- name: build_php_base |
|
|
- name: build_php_base |
|
|