journal/.drone.yml
Ben Harris 8f3ea7c8cc
All checks were successful
continuous-integration/drone/push Build is passing
use git -C instead of cd
2021-04-02 11:11:04 -04:00

26 lines
375 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: deploy
commands:
- sudo -Hu www-data git -C /var/www/journal.tildeverse.org pull --rebase origin master