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

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

View File

@ -33,7 +33,7 @@ steps:
- git fetch - git fetch
- git checkout ${DRONE_BRANCH} - git checkout ${DRONE_BRANCH}
- git reset --hard ${DRONE_COMMIT} - 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 - docker image prune -f
when: when:
event: event:
@ -75,7 +75,7 @@ steps:
- git fetch - git fetch
- git checkout ${DRONE_BRANCH} - git checkout ${DRONE_BRANCH}
- git reset --hard ${DRONE_COMMIT} - 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 - docker image prune -f
when: when:
event: event: