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

47 lines
947 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:51:38 +02:00
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
2023-10-04 01:54:05 +02:00
commit: true
2023-10-04 01:52:55 +02:00
commit_message: [CI] Updated Build Output files
2023-10-04 01:51:38 +02:00
author_name: Bot Commit
author_email: bot-commit@wagnersnetz.de
2023-10-04 01:14:53 +02:00
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