2
0
mirror of https://github.com/tildeclub/site synced 2024-06-14 21:36:37 +00:00
site/.drone.yml
Ben Harris 6211554085
All checks were successful
continuous-integration/drone/push Build is passing
use -C instead of cd
2021-04-02 11:09:49 -04:00

29 lines
433 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:
- git -C /usr/share/nginx/html pull --rebase origin master
- name: build-wiki
commands:
- make -C /usr/share/nginx/html/wiki