evobackup/.drone.yml

42 lines
671 B
YAML
Raw Normal View History

2019-03-01 16:12:57 +01:00
kind: pipeline
name: default
steps:
- name: build debian package
2020-02-05 15:11:34 +01:00
image: evolix/gbp:latest
2019-03-01 16:12:57 +01:00
branches:
- debian
commands:
- mk-build-deps --install --remove debian/control
2020-04-22 01:14:54 +02:00
- git clean --force
2019-03-01 16:12:57 +01:00
- 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/bkctld/
source: /tmp/bkctld/
delete: true
volumes:
- name: tmp
path: /tmp
when:
branch:
- debian
volumes:
- name: tmp
host:
path: /tmp