fix drone config 11
This commit is contained in:
parent
da5b84e5c9
commit
b5ecdc9eef
|
@ -33,6 +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 up -d --build --force-recreate
|
- docker-compose up -d --build --force-recreate
|
||||||
- docker image prune -f
|
- docker image prune -f
|
||||||
when:
|
when:
|
||||||
|
@ -75,6 +76,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 up -d --build --force-recreate
|
- docker-compose up -d --build --force-recreate
|
||||||
- docker image prune -f
|
- docker image prune -f
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in New Issue