tilde.chat/.drone.yml

29 lines
461 B
YAML
Raw Normal View History

2019-12-06 15:40:55 +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:45:57 +00:00
clone:
disable: true
trigger:
branch:
- master
2019-12-06 15:40:55 +00:00
steps:
- name: deploy
commands:
2022-02-16 18:43:45 +00:00
- cd /var/www/tilde.chat
- sudo -Hu www-data git fetch
- sudo -Hu www-data git reset --hard origin/master
- sudo -Hu www-data composer install
2019-12-06 15:40:55 +00:00