Added pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-04-02 22:34:40 +03:00
parent edada2a968
commit e870130554
4 changed files with 23 additions and 3 deletions

21
.drone.yml Normal file
View 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