add .drone.yml

This commit is contained in:
creme 2020-05-20 14:38:42 +02:00
parent 0aa5e5071c
commit aa179938cb
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 26 additions and 0 deletions

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 /var/www/docs/help
- sudo -Hu www-data git pull origin master
- sudo -Hu www-data mkdocs build