Add DroneCI config for auto build Debian package
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Victor LABORIE 2019-05-22 12:12:20 +02:00
parent dfdbce74fa
commit 737d6b96dd
1 changed files with 36 additions and 0 deletions

View File

@ -17,3 +17,39 @@ steps:
when:
branch:
- master
- name: build debian package
image: evolix/gbp:latest
branches:
- debian
commands:
- mk-build-deps --install --remove debian/control
- gbp buildpackage
volumes:
- name: tmp
path: /tmp
when:
branch:
- debian
- name: upload debian package
image: drillster/drone-rsync
settings:
hosts: ["pub.evolix.net"]
port: 22
user: droneci
key:
from_secret: drone_private_key
target: /home/droneci/errors-pages/
source: /tmp/errors-pages/
delete: true
volumes:
- name: tmp
path: /tmp
when:
branch:
- debian
volumes:
- name: tmp
temp: {}