This commit is contained in:
21
.drone.yml
Normal file
21
.drone.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: update
|
||||
|
||||
server:
|
||||
host: 188.242.77.16:9345
|
||||
user: ubuntu
|
||||
ssh_key:
|
||||
from_secret: SSH_KEY
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: fetch remote
|
||||
commands:
|
||||
- cd /home/ubuntu/politics-mark && git fetch --all && git reset --hard origin/master
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
Reference in New Issue
Block a user