14 lines
306 B
YAML
14 lines
306 B
YAML
pipeline:
|
|
|
|
deploy-production:
|
|
image: docker/compose:1.19.0
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
commands:
|
|
- docker-compose -p startpage down
|
|
- docker-compose -p startpage up -d
|
|
when:
|
|
event: deployment
|
|
environment: production
|
|
|
|
branches: master |