1
0
Fork 0
mirror of https://tildegit.org/envs/pb.git synced 2025-04-03 22:05:52 +00:00

add .drone.yml

This commit is contained in:
creme 2020-05-20 16:36:52 +02:00
parent e1cca8b092
commit 0b2dc39bea
No known key found for this signature in database
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/pb
- sudo -Hu services git pull origin master
- sudo -Hu root make