From ac0f8be867c28004655d4742fa19a3a0d7e52d24 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 9 Jul 2023 06:00:39 +0800 Subject: [PATCH 1/2] fix drone config 13 --- .drone.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.drone.yml b/.drone.yml index 8cb5831..ac20d69 100644 --- a/.drone.yml +++ b/.drone.yml @@ -135,3 +135,33 @@ steps: - opened - reopened - synchronized + +--- + +kind: pipeline +type: docker +name: main-merge-pull-request-prod + +platform: + os: linux + arch: amd64 + +trigger: + branch: + include: + - main + event: + include: + - push + +clone: + disable: true + +steps: + - name: semantic-release + image: gtramontina/semantic-release:17.4.3 + environment: + GITHUB_TOKEN: + from_secret: gitea_token + entrypoint: + - semantic-release \ No newline at end of file -- 2.40.1 From cfb22f64b5905db92a77e1864a2f6faabb0ee851 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 9 Jul 2023 06:07:17 +0800 Subject: [PATCH 2/2] fix drone config 14 --- .drone.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index ac20d69..a543731 100644 --- a/.drone.yml +++ b/.drone.yml @@ -82,12 +82,7 @@ steps: when: event: include: - - pull_request - action: - include: - - opened - - reopened - - synchronized + - push --- -- 2.40.1