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

46 lines
975 B
YAML
Raw Normal View History

2023-09-30 03:28:12 +02:00
---
kind: pipeline
type: docker
name: default
2023-09-30 05:06:31 +02:00
# Debian Package building steps
2023-09-30 03:28:12 +02:00
steps:
- name: debian-package-builder
image: debian:bullseye
2023-09-30 03:28:12 +02:00
commands:
- apt-get update
2023-10-04 01:22:45 +02:00
- apt-get install -y debhelper dh-make git
- mkdir -p dist
- dh_builddeb --destdir=dist
2023-10-04 01:22:45 +02:00
- git add dist/*
2023-10-04 01:40:39 +02:00
- git config user.name "Auto Build Commit"
- git config user.email "bot-commit@wagnersnetz.de"
2023-10-04 01:31:54 +02:00
- git commit -m "Updated Output!"
when:
event:
- push
- commit
2023-10-04 01:14:53 +02:00
- name: push-to-build-folder
image: appleboy/drone-git-push
settings:
remote_name: origin
branch: main
local_ref: main
when:
event:
- push
- commit
2023-09-30 07:38:22 +02:00
2023-09-30 23:33:42 +02:00
- name: attach-to-release
2023-09-30 07:30:10 +02:00
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.wagnersnetz.de
files: dist/*
2023-09-30 23:33:42 +02:00
target:
repository: Rsclub2_2/win-test-wrapper-beta-test
tag: ${DRONE_TAG}
when:
event:
- tag