evoadmin-mail/.drone.yml
David Prevot a75593f852
All checks were successful
continuous-integration/drone/push Build is passing
gitea.evolix.org on plain agent00/evoadmin-mail/pipeline/head This commit looks good
CI: Clean up before build
2022-06-30 11:49:29 +02:00

36 lines
636 B
YAML

kind: pipeline
name: default
steps:
- name: fetch
image: alpine/git
commands:
- git fetch --tags
- name: build debian package
image: evolix/gbp:bullseye
branches:
- debian
commands:
- mk-build-deps --install --remove debian/control
- git clean --force
- gbp buildpackage -us -uc
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: ../evoadmin-mail*
delete: true
when:
branch:
- debian