kspace-bludit-theme/.drone.yml

27 lines
463 B
YAML
Raw Normal View History

2024-06-09 18:19:43 +02:00
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