swiftmandolin.tilde.team/.drone.yml

28 lines
403 B
YAML

---
kind: pipeline
type: ssh
name: deploy
server:
host:
from_secret: host
user:
from_secret: user
ssh_key:
from_secret: ssh_key
clone:
disable: true
trigger:
branch:
- master
steps:
- name: deploy
commands:
- cd /home/swiftmandolin/swiftmandolin.tilde.team
- git reset --hard HEAD
- git pull origin master
- chmod 755 deploy
- ./deploy