add drone deploy

This commit is contained in:
Ben Harris 2019-12-08 02:20:16 -05:00
parent cd011a89ce
commit 506c448134
1 changed files with 30 additions and 0 deletions

30
.drone.yml Normal file
View File

@ -0,0 +1,30 @@
---
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 /usr/share/www/html
- git pull origin master
- name: build-wiki
commands:
- cd /usr/share/www/html/wiki
- make