drone scp issues...

This commit is contained in:
toby 2018-08-24 22:40:33 +02:00
parent 4ed4392735
commit dd55eff1f3
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ pipeline:
- apt-get clean - apt-get clean
- dpkg-buildpackage --no-sign - dpkg-buildpackage --no-sign
- ls -lha ../wit-network-config_*_all.deb - ls -lha ../wit-network-config_*_all.deb
- echo $SSH_KEY >/tmp/id_rsa - echo "$SSH_KEY" >/tmp/id_rsa
- chmod 600 /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 - scp -i /tmp/id_rsa -o StrictHostKeyChecking=no -P 22022 ../wit-network-config_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming
secrets: [ ssh_key ] secrets: [ ssh_key ]