share/.drone.yml

26 lines
339 B
YAML
Raw Normal View History

2021-09-24 08:05:20 +00:00
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