develop #2
|
@ -33,8 +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 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:
|
||||||
|
@ -77,6 +76,7 @@ steps:
|
||||||
- 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 down && docker-compose build --no-cache && docker-compose up -d
|
||||||
|
- docker image prune -f
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
include:
|
include:
|
||||||
|
|
Loading…
Reference in New Issue