From acf13bb6b85973ee0e7aa5d0195745f568c83ecd Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 9 Jul 2023 05:08:35 +0800 Subject: [PATCH] fix drone config 3 --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4d77f53..4670a0b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -77,7 +77,7 @@ steps: - git checkout ${DRONE_BRANCH} - git reset --hard ${DRONE_COMMIT} - docker-compose down - - docker-compose up -d --build + - docker-compose up -d --build --force-recreate - docker image prune -f when: event: @@ -93,7 +93,8 @@ steps: settings: gitea_token: from_secret: gitea_token - gitea_base_url: https://gitea.bearcatlog.com + gitea_base_url: + from_secret: gitea_base_url comment_title: "部署 sit 环境失败" comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境失败" when: @@ -112,7 +113,8 @@ steps: settings: gitea_token: from_secret: gitea_token - gitea_base_url: https://gitea.bearcatlog.com + gitea_base_url: + from_secret: gitea_base_url comment_title: "部署 sit 环境成功" comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境成功" when: