evoadmin-mail/.drone.yml
David Prevot 6071d5973c CI: Don’t rely on /tmp
/tmp is mounted noexec, so can’t be used to run scripts.
2022-06-29 17:33:17 +02:00

35 lines
614 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
- 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