re-doing the scp part to test
This commit is contained in:
parent
10bd003952
commit
bd689b72a2
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue