matrix-doc/.drone.yml

27 lines
399 B
YAML
Raw Normal View History

2021-07-31 14:25:25 -04:00
---
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:
2021-08-05 14:12:40 -04:00
- cd /var/www/docs/matrix-doc
2021-07-31 14:25:25 -04:00
- sudo -Hu www-data git pull origin master
- sudo -Hu www-data mkdocs build