mirror of
https://git.envs.net/envs/matrix-doc.git
synced 2024-09-08 07:01:54 +00:00
27 lines
399 B
YAML
27 lines
399 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:
|
||
|
- cd /var/www/docs/matric-doc
|
||
|
- sudo -Hu www-data git pull origin master
|
||
|
- sudo -Hu www-data mkdocs build
|