.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 # Debian Package building steps
steps: steps:
- name: debian-package-builder - name: debian-package-builder
volumes:
- name: cache
path: /dist
image: debian:bullseye image: debian:bullseye
commands: commands:
- apt-get update - apt-get update
- apt-get install -y debhelper dh-make git - apt-get install -y debhelper dh-make
- mkdir -p dist - dh_builddeb --destdir=/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]*"
- name: attach-to-release - name: attach-to-release
image: plugins/gitea-release image: plugins/gitea-release
volumes:
- name: build
path: /dist
settings: settings:
api_key: api_key:
from_secret: gitea_api_key from_secret: gitea_api_key
base_url: https://git.wagnersnetz.de base_url: https://git.wagnersnetz.de
files: dist/* files: /dist/*
target: target:
repository: Rsclub2_2/win-test-wrapper-beta-test repository: Rsclub2_2/win-test-wrapper-beta-test
tag: ${DRONE_TAG} tag: ${DRONE_TAG}
when: when:
event: event:
- tag - tag
# Volumes for Building
volumes:
- name: build
temp: {}