fix drone config
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-07-09 02:37:05 +08:00
parent 186d639ce2
commit 664d7aa60d
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ steps:
- cd /var/www/todo - cd /var/www/todo
- git fetch - git fetch
- git reset --hard ${DRONE_COMMIT} - git reset --hard ${DRONE_COMMIT}
- git checkout ${DRONE_BRANCH}
- docker-compose down - docker-compose down
- docker-compose up -d --build - docker-compose up -d --build
- docker image prune -f - docker image prune -f