newv
This commit is contained in:
parent
4b8e96b899
commit
319ccb3b3b
14
.drone.yml
14
.drone.yml
@ -1,14 +1,18 @@
|
|||||||
pipeline:
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: testing
|
||||||
|
|
||||||
deploy-production:
|
# platform:
|
||||||
|
# os: linux
|
||||||
|
# arch: amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deploy
|
||||||
image: docker/compose:1.19.0
|
image: docker/compose:1.19.0
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker-compose -p startpage down
|
- docker-compose -p startpage down
|
||||||
- docker-compose -p startpage up -d
|
- docker-compose -p startpage up -d
|
||||||
when:
|
|
||||||
event: deployment
|
|
||||||
environment: production
|
|
||||||
|
|
||||||
branches: master
|
branches: master
|
Loading…
x
Reference in New Issue
Block a user