Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ewen 2022-02-04 07:17:06 +00:00
parent 9d8a964822
commit c6ab747c64

View file

@ -61,8 +61,9 @@ steps:
- echo "$SCP_KEY" > $HOME/.ssh/id_rsa - echo "$SCP_KEY" > $HOME/.ssh/id_rsa
- ssh-keyscan -t rsa -p $SCP_PORT $SCP_HOSTNAME >> $HOME/.ssh/known_hosts - ssh-keyscan -t rsa -p $SCP_PORT $SCP_HOSTNAME >> $HOME/.ssh/known_hosts
- chmod -R og-rw $HOME/.ssh/ - chmod -R og-rw $HOME/.ssh/
- scp -rv -P $SCP_PORT -i $HOME/.ssh/id_rsa public $SCP_USER@$SCP_HOSTNAME:~/ - echo $SCP_TARGET_DIRECTORY
- ssh -p $SCP_PORT -i $HOME/.ssh/id_rsa $SCP_USER@$SCP_HOSTNAME 'rm -rvf $SCP_TARGET_DIRECTORY/*; mv ~/public/* $SCP_TARGET_DIRECTORY; ~/$SCP_COMMAND; rm -rvf ~/public' #- scp -r -P $SCP_PORT -i $HOME/.ssh/id_rsa public $SCP_USER@$SCP_HOSTNAME:~/
#- ssh -p $SCP_PORT -i $HOME/.ssh/id_rsa $SCP_USER@$SCP_HOSTNAME 'rm -rvf $SCP_TARGET_DIRECTORY/*; mv ~/public/* $SCP_TARGET_DIRECTORY; ~/$SCP_COMMAND; rm -rvf ~/public'
#- ssh -p $SCP_PORT -i $HOME/.ssh/id_rsa $SCP_USER@$SCP_HOSTNAME 'rm -rvf $SCP_TARGET_DIRECTORY/*; mv ~/public/* $SCP_TARGET_DIRECTORY; ~/$SCP_COMMAND' #- ssh -p $SCP_PORT -i $HOME/.ssh/id_rsa $SCP_USER@$SCP_HOSTNAME 'rm -rvf $SCP_TARGET_DIRECTORY/*; mv ~/public/* $SCP_TARGET_DIRECTORY; ~/$SCP_COMMAND'
#- name: rereveille_toi #- name: rereveille_toi