win-test-wrapper-beta-test/.drone.yml

47 lines
948 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
when:
event:
- push
- commit
- name: push-to-build-folder
image: appleboy/drone-git-push
settings:
remote_name: origin
branch: main
local_ref: main
commit: true
commit_message: [CI]: Updated Build Output files
author_name: Bot Commit
author_email: bot-commit@wagnersnetz.de
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