re-doing the scp part to test

This commit is contained in:
toby 2018-08-24 21:16:47 +02:00
parent 10bd003952
commit bd689b72a2
1 changed files with 2 additions and 1 deletions

View File

@ -8,8 +8,9 @@ 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
- echo $SSH_KEY
- 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
environment: environment:
- SSH_KEY=$$ssh_key - SSH_KEY="$$ssh_key"