develop #2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue