site/.drone.yml

20 lines
300 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
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