init
This commit is contained in:
12
.drone.yml
Normal file
12
.drone.yml
Normal file
@ -0,0 +1,12 @@
|
||||
pipeline:
|
||||
deploy-production:
|
||||
image: docker/compose
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
commands:
|
||||
- docker-compose -p otm down
|
||||
- docker-compose build --no-cache otm
|
||||
- docker-compose -p otm up -d
|
||||
when:
|
||||
event: push
|
||||
branch: [master]
|
Reference in New Issue
Block a user