2019-12-06 18:21:22 +00: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-04-02 15:06:16 +00:00
|
|
|
- sudo -Hu www-data git -C /var/www/tilde.team pull --rebase origin master
|
2022-02-16 18:35:26 +00:00
|
|
|
- cd /var/www/tilde.team && sudo -Hu www-data composer install
|
2019-12-06 18:21:22 +00:00
|
|
|
|