.drone.yml aktualisiert

This commit is contained in:
Rsclub2_2 2023-10-05 19:23:06 +00:00
parent 26145037da
commit 664175b147

View File

@ -6,49 +6,33 @@ name: default
# Debian Package building steps
steps:
- name: debian-package-builder
volumes:
- name: cache
path: /dist
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 "Auto Build Commit"
- git config user.email "bot-commit@wagnersnetz.de"
- git commit -m "[CI] Updated Output!"
when:
event:
- push
- commit
exclude:
- message: "*[CI]*"
- name: push-to-build-folder
image: appleboy/drone-git-push
settings:
remote_name: origin
branch: main
local_ref: main
author_name: Bot Commit
author_email: bot-commit@wagnersnetz.de
when:
event:
- push
- commit
exclude:
- message: "*[CI]*"
- apt-get install -y debhelper dh-make
- dh_builddeb --destdir=/dist
- name: attach-to-release
image: plugins/gitea-release
volumes:
- name: build
path: /dist
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.wagnersnetz.de
files: dist/*
files: /dist/*
target:
repository: Rsclub2_2/win-test-wrapper-beta-test
tag: ${DRONE_TAG}
when:
event:
- tag
- tag
# Volumes for Building
volumes:
- name: build
temp: {}