drone scp issues...
This commit is contained in:
parent
4ed4392735
commit
dd55eff1f3
|
@ -7,7 +7,7 @@ pipeline:
|
|||
- apt-get clean
|
||||
- dpkg-buildpackage --no-sign
|
||||
- ls -lha ../wit-network-config_*_all.deb
|
||||
- echo $SSH_KEY >/tmp/id_rsa
|
||||
- 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
|
||||
secrets: [ ssh_key ]
|
||||
|
|
Loading…
Reference in New Issue