fix(ci): ajout .drone.yml
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Kazhnuz 2024-06-10 13:51:56 +02:00
parent a09c77d23f
commit 5487c753ab

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/quarante-douze.net/bl-themes/quarante-douze/
source: '*'
user:
from_secret: deploy_user
key:
from_secret: deploy_key
when:
branch: main
delete: true