adding a function to build only on the master branch. this avoids releasing packages to the repo before they are at least somewhat ready

This commit is contained in:
toby 2018-10-15 18:04:41 +02:00
parent d30e523aed
commit fc2e803533
1 changed files with 1 additions and 0 deletions

View File

@ -12,3 +12,4 @@ pipeline:
- 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 ]
branches: master