feat: add yaml file

This commit is contained in:
George Birikorang 2025-08-26 11:34:08 -04:00
parent a78cb9cb44
commit 93cff793f6

25
drone-yaml.txt 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/kh3website/data/html