drone scp sill having issues

This commit is contained in:
root 2018-08-24 20:10:12 +00:00
parent bd689b72a2
commit 417b17d6bf
1 changed files with 1 additions and 2 deletions

View File

@ -12,5 +12,4 @@ pipeline:
- echo $SSH_KEY >/tmp/id_rsa
- chmod 600 /tmp/id_rsa
- scp -i /tmp/id_rsa -o StrictHostKeyChecking=no -P 22022 ../wit-network-config_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming
environment:
- SSH_KEY="$$ssh_key"
secrets: [ ssh_key ]