From 664175b14769ad8103f50ce43bb45e5a43b137ad Mon Sep 17 00:00:00 2001 From: Rsclub2_2 Date: Thu, 5 Oct 2023 19:23:06 +0000 Subject: [PATCH] .drone.yml aktualisiert --- .drone.yml | 46 +++++++++++++++------------------------------- 1 file changed, 15 insertions(+), 31 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5458623..70478ed 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file + - tag + +# Volumes for Building +volumes: +- name: build + temp: {} \ No newline at end of file