develop #2
|
@ -33,6 +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 image prune -f
|
||||
when:
|
||||
|
@ -75,6 +76,7 @@ steps:
|
|||
- git fetch
|
||||
- git checkout ${DRONE_BRANCH}
|
||||
- git reset --hard ${DRONE_COMMIT}
|
||||
- docker-compose down
|
||||
- docker-compose up -d --build --force-recreate
|
||||
- docker image prune -f
|
||||
when:
|
||||
|
|
Loading…
Reference in New Issue