feat: add drone config
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Kazhnuz 2023-11-08 14:19:28 +01:00
parent 7275e204f4
commit d8a3c4f874

26
.drone.yml Normal file
View 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/press.fanstuff.garden
source: /*
user:
from_secret: deploy_user
key:
from_secret: deploy_key
when:
branch: main
delete: true