win-test-wrapper-beta-test/.drone.yml
Philipp Wagner b8b8814aa8
All checks were successful
continuous-integration/drone/push Build is passing
modified: .drone.yml
2023-10-04 01:14:53 +02:00

42 lines
801 B
YAML

---
kind: pipeline
type: docker
name: default
# Debian Package building steps
steps:
- name: debian-package-builder
image: debian:bullseye
commands:
- apt-get update
- apt-get install -y debhelper dh-make
- mkdir -p dist
- dh_builddeb --destdir=dist
when:
event:
- push
- commit
- name: push-to-build-folder
image: appleboy/drone-git-push
settings:
remote_name: origin
branch: main
local_ref: main
when:
event:
- push
- commit
- name: attach-to-release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.wagnersnetz.de
files: dist/*
target:
repository: Rsclub2_2/win-test-wrapper-beta-test
tag: ${DRONE_TAG}
when:
event:
- tag