mirror of
https://tildegit.org/envs/pb.git
synced 2025-04-03 22:05:52 +00:00
add .drone.yml
This commit is contained in:
parent
e1cca8b092
commit
0b2dc39bea
1 changed files with 26 additions and 0 deletions
26
.drone.yml
Normal file
26
.drone.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
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 /opt/services/pb
|
||||
- sudo -Hu services git pull origin master
|
||||
- sudo -Hu root make
|
Loading…
Add table
Reference in a new issue