site/.drone.yml
Ben Harris c5ce29eab8
All checks were successful
continuous-integration/drone/push Build is passing
only run on master
2019-12-06 10:47:38 -05:00

27 lines
365 B
YAML

---
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: hello
commands:
- cd /var/www/benharr.is
- sudo -Hu www-data git pull origin master