👷 Readd the drone config

It's better finally
This commit is contained in:
Kazhnuz 2025-02-16 12:15:12 +01:00
parent a166130e96
commit 04b942cc9a

32
drone.yml Normal file
View file

@ -0,0 +1,32 @@
kind: pipeline
name: production
when:
event: [ push ]
branch: [ master ]
clone:
git:
image: plugins/git
pull: true
steps:
- name: build
image: node:latest
commands:
- npm i
- npm run compile
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
from_secret: deploy_host
target: /var/www/moineau.kazhnuz.space
source: dist/*
user:
from_secret: deploy_user
key:
from_secret: deploy_key
when:
branch: master
delete: true