add .drone.yml
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a328e8dc24
commit
e90c9deaf3
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
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: hello
|
||||||
|
commands:
|
||||||
|
- sudo -Hu www-data git -C /var/www/diyhosting.bhh.sh pull --rebase origin master
|
Loading…
Reference in New Issue