From b5ecdc9eefe244475c62afae14edab8da8143997 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 9 Jul 2023 05:46:44 +0800 Subject: [PATCH] fix drone config 11 --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index c7d017f..cd36906 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,6 +33,7 @@ steps: - git fetch - git checkout ${DRONE_BRANCH} - git reset --hard ${DRONE_COMMIT} + - docker-compose down - docker-compose up -d --build --force-recreate - docker image prune -f when: @@ -75,6 +76,7 @@ steps: - git fetch - git checkout ${DRONE_BRANCH} - git reset --hard ${DRONE_COMMIT} + - docker-compose down - docker-compose up -d --build --force-recreate - docker image prune -f when: