komarov 4 anni fa
parent
commit
1fe4d6aa6f
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      .drone.yml

+ 2
- 1
.drone.yml Vedi File

@@ -15,7 +15,8 @@ steps:
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-agent sh -c "ssh-add $HOME/.ssh/id_rsa && ssh-keyscan -t rsa gitea.torrion-vault.xyz >> $HOME/.ssh/known_hosts"
- 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-add -l
- git clone git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git
- git checkout $DRONE_COMMIT


Loading…
Annulla
Salva