From 56f86e0df05798774cc452152702d18b45c0a642 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 9 Jul 2023 06:31:59 +0800 Subject: [PATCH] feat: fix drone config 15 --- .drone.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index a543731..5f9b50c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -99,6 +99,14 @@ trigger: branch: include: - main + when: + event: + - pull_request + action: + include: + - opened + - reopened + - synchronized clone: disable: true @@ -122,14 +130,6 @@ steps: - docker-compose down - docker-compose up -d --build --force-recreate - docker image prune -f - when: - event: - - pull_request - action: - include: - - opened - - reopened - - synchronized --- @@ -154,9 +154,9 @@ clone: 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 + image: entwico/semantic-release-drone + settings: + git_login: + from_secret: gitea_user + git_password: + from_secret: gitea_password \ No newline at end of file -- 2.40.1