1
0
mirror of https://git.envs.net/envs/burrow.git synced 2024-07-14 01:54:33 +00:00

add .drone.yml

This commit is contained in:
creme 2020-05-23 11:09:22 +02:00
parent 2b99bf98e3
commit af7d8a31c2
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0

26
.drone.yml Normal file
View File

@ -0,0 +1,26 @@
---
kind: pipeline
type: ssh
name: deploy
server:
host:
from_secret: host
user:
from_secret: username
ssh_key:
from_secret: ssh_key
clone:
disable: true
trigger:
branch:
- master
steps:
- name: deploy
commands:
- cd /opt/services/burrow
- sudo -Hu services git pull origin master
- sudo -Hu root make