From 530d52fdddf740f7c9f3a076d9a41dc970c325fa Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 9 Jul 2023 05:12:10 +0800 Subject: [PATCH] fix drone config 4 --- .drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4670a0b..81cf4d6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -34,7 +34,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: @@ -95,7 +95,6 @@ steps: from_secret: gitea_token gitea_base_url: from_secret: gitea_base_url - comment_title: "部署 sit 环境失败" comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境失败" when: status: @@ -115,7 +114,6 @@ steps: from_secret: gitea_token gitea_base_url: from_secret: gitea_base_url - comment_title: "部署 sit 环境成功" comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境成功" when: status: