Browse Source

add .drone.yml

pull/1/head
creme 2 years ago
parent
commit
f944f075a3
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
  1. 25
      .drone.yml

25
.drone.yml

@ -0,0 +1,25 @@
---
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/ops
- sudo -Hu root git pull origin master
Loading…
Cancel
Save