win-test-wrapper-beta-test/.drone.yml
2023-10-04 01:31:22 +02:00

45 lines
924 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 git
- mkdir -p dist
- dh_builddeb --destdir=dist
- git add dist/*
- git config user.name "Rsclub2_2"
- git config user.email "philipp@wagnersnetz.de"
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