site/.drone.yml

27 lines
365 B
YAML
Raw Normal View History

2019-12-06 14:52:54 +00:00
---
kind: pipeline
type: ssh
name: deploy
server:
host:
from_secret: host
user:
from_secret: username
ssh_key:
from_secret: ssh_key
2019-12-06 15:46:57 +00:00
clone:
disable: true
2019-12-06 15:47:38 +00:00
trigger:
branch:
- master
2019-12-06 14:52:54 +00:00
steps:
- name: hello
commands:
2019-12-06 15:26:58 +00:00
- cd /var/www/benharr.is
2019-12-06 15:31:23 +00:00
- sudo -Hu www-data git pull origin master
2019-12-06 14:52:54 +00:00