fix drone config 9
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
BryantHe 2023-07-09 05:41:43 +08:00
parent ce40570c93
commit 8ea68aabfe
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +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-compose down && docker-compose build --no-cache && docker-compose up -d
- docker image prune -f
when:
event:
@ -77,6 +76,7 @@ steps:
- git checkout ${DRONE_BRANCH}
- git reset --hard ${DRONE_COMMIT}
- docker-compose down && docker-compose build --no-cache && docker-compose up -d
- docker image prune -f
when:
event:
include: