feat: adds drone file

This commit is contained in:
George Birikorang 2025-08-26 12:29:30 -04:00
parent 0eab10dc09
commit 6b21abfe6a
2 changed files with 220 additions and 131 deletions

25
.drone.yml Normal file
View file

@ -0,0 +1,25 @@
kind: pipeline
type: docker
name: deploy
steps:
- name: build
image: node:18-alpine
commands:
- npm ci || npm install
- npm run build || npm build
- name: sync-files
image: alpine:latest
volumes:
- name: website-data
path: /host-target
commands:
- cp -a . /host-target
- chmod -R 777 /host-target
volumes:
- name: website-data
host:
path: /root/khywebsite/data/html