From da5b84e5c9f2cbe48230620087b99177fbf19203 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 9 Jul 2023 05:43:57 +0800 Subject: [PATCH] fix drone config 10 --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 833a4a2..c7d017f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,7 +33,7 @@ steps: - git fetch - git checkout ${DRONE_BRANCH} - git reset --hard ${DRONE_COMMIT} - - docker-compose down && docker-compose build --no-cache && docker-compose up -d + - docker-compose up -d --build --force-recreate - docker image prune -f when: event: @@ -75,7 +75,7 @@ steps: - git fetch - git checkout ${DRONE_BRANCH} - git reset --hard ${DRONE_COMMIT} - - docker-compose down && docker-compose build --no-cache && docker-compose up -d + - docker-compose up -d --build --force-recreate - docker image prune -f when: event: