From 93cff793f61dd30979f33e320029171a329ca9a9 Mon Sep 17 00:00:00 2001 From: George Birikorang Date: Tue, 26 Aug 2025 11:34:08 -0400 Subject: [PATCH] feat: add yaml file --- drone-yaml.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 drone-yaml.txt diff --git a/drone-yaml.txt b/drone-yaml.txt new file mode 100644 index 0000000..0c0a8b2 --- /dev/null +++ b/drone-yaml.txt @@ -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 \ No newline at end of file