This commit is contained in:
parent
297faf8008
commit
c97c5eb82d
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
|
||||||
|
name: production
|
||||||
|
when:
|
||||||
|
event: [ push ]
|
||||||
|
branch: [ main ]
|
||||||
|
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: plugins/git
|
||||||
|
pull: true
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deploy
|
||||||
|
image: drillster/drone-rsync
|
||||||
|
settings:
|
||||||
|
hosts:
|
||||||
|
from_secret: deploy_host
|
||||||
|
target: /var/www/blog.kazhnuz.space/bl-themes/kazhnuz-space
|
||||||
|
source: /*
|
||||||
|
user:
|
||||||
|
from_secret: deploy_user
|
||||||
|
key:
|
||||||
|
from_secret: deploy_key
|
||||||
|
when:
|
||||||
|
branch: main
|
||||||
|
delete: true
|
Loading…
Reference in a new issue