26 lines
339 B
YAML
26 lines
339 B
YAML
|
|
kind: pipeline
|
|
name: server
|
|
type: ssh
|
|
server:
|
|
host:
|
|
from_secret: host
|
|
user:
|
|
from_secret: user
|
|
ssh_key:
|
|
from_secret: deploy_key
|
|
clone:
|
|
disable: true
|
|
steps:
|
|
- name: pull
|
|
commands:
|
|
- cd $PUBLIC
|
|
- git pull
|
|
environment:
|
|
PUBLIC:
|
|
from_secret: public
|
|
trigger:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push |