re-doing the scp part to test

This commit is contained in:
toby 2018-08-24 21:04:48 +02:00
parent 52658cebe2
commit 90db3310de
1 changed files with 5 additions and 9 deletions

View File

@ -8,12 +8,8 @@ pipeline:
- dpkg-buildpackage --no-sign - dpkg-buildpackage --no-sign
- ls -lha ../wit-network-config_*_all.deb - ls -lha ../wit-network-config_*_all.deb
- find / -name *.deb - find / -name *.deb
upload: - echo $SSH_KEY >~/.ssh/id_rsa
image: appleboy/drone-scp - chmod 600 ~/.ssh/id_rsa
host: cloud-api.v1.cloud.wit.com - scp -i ~/.ssh/id_rsa -P 22022 ../wit-network-config_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming
username: root environment:
secrets: [ ssh_key ] - SSH_KEY=$$ssh_key
port: 22022
target: /data/incoming
source: ../wit-network-config_*_all.deb
strip_components: 1