add drone

This commit is contained in:
sam 2022-05-14 18:09:46 +04:30
parent f1636345dc
commit 736f6557e3

20
.drone.yml Normal file
View File

@ -0,0 +1,20 @@
kind: pipeline
type: docker
name: default
steps:
- name: deploy
image: docker/compose
volumes:
- name: cache
path: /var/run/docker.sock
commands:
- docker-compose up -d --build
when:
branch:
- master
event:
- push
volumes:
- name: cache
host:
path: /var/run/docker.sock