add drone deploy

This commit is contained in:
Ben Harris 2020-03-17 12:34:35 -04:00
parent 6d1c5cbbe7
commit 089f9b63f6
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/journal.tildeverse.org
- sudo -Hu www-data git pull origin master