evoadmin-mail/.drone.yml
Victor LABORIE 114a5eea8e
All checks were successful
continuous-integration/drone/push Build is passing
Update .drone.yml for use evolix repository
2019-05-03 11:36:36 +02:00

41 lines
663 B
YAML

kind: pipeline
name: default
steps:
- 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/evoadmin-mail/
source: /tmp/evoadmin-mail/
delete: true
volumes:
- name: tmp
path: /tmp
when:
branch:
- debian
volumes:
- name: tmp
host:
path: /tmp