site for the tildeverse irc network
https://tilde.chat
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
461 B
28 lines
461 B
--- |
|
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: |
|
- 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 |
|
|
|
|