From 120326ec8f52df79305c12373be12688428e11aa Mon Sep 17 00:00:00 2001 From: Alexander Kacheryants Date: Thu, 20 Jun 2024 06:24:58 +0300 Subject: [PATCH] make a new way --- .woodpecker/.make-app.yaml | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/.woodpecker/.make-app.yaml b/.woodpecker/.make-app.yaml index e1d1c50..e7200af 100644 --- a/.woodpecker/.make-app.yaml +++ b/.woodpecker/.make-app.yaml @@ -26,20 +26,36 @@ steps: - name: Publish app image: ocram85/plugin-gitea-package:latest pull: true - secrets: [ gitea_user, gitea_passwd] + secrets: [ gitea_user, gitea_passwd ] settings: user: from_secret: gitea_user password: from_secret: gitea_passwd debug: "true" - owner: "plugins" - package_name: "dummy_package" + owner: "iHackFX" + package_name: "library" package_version: "0.1.0" - file_source: "./android/app/build/apk/app-debug-unaligned.apk" - file_name: "app-debug-unaligned.apk" + file_source: "./android/app/build/outputs/apk/debug/app-debug.apk" + file_name: "app-debug.apk" update: "true" when: event: release branch: ${CI_REPO_DEFAULT_BRANCH} + - name: Comment + image: mcs94/gitea-comment + settings: + gitea_address: http://gitea.192.168.0.100.nip.io:3000/ + gitea_token: + from_secret: woodpecker_bot_token + comment: > + ✅ Build ${CI_BUILD_EVENT} of `${CI_REPO_NAME}` has status `${CI_BUILD_STATUS}`. + + 📝 Commit by ${CI_COMMIT_AUTHOR} on `${CI_COMMIT_BRANCH}`: + + `${CI_COMMIT_MESSAGE}` + + 🌐 ${CI_BUILD_LINK} + when: + event: [pull_request]