refactor: streamline .drone.yml for improved readability and maintainability
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
George Birikorang 2025-09-16 18:58:39 -07:00
parent de2745e433
commit 2e98e6cc02

View file

@ -3,13 +3,13 @@ type: docker
name: deploy
steps:
- name: build
- name: build
image: node:18-alpine
commands:
- npm ci || npm install
- npm run build || npm build
- name: sync-files
- name: sync-files
image: alpine:latest
volumes:
- name: website-data
@ -25,6 +25,6 @@ steps:
- chmod -R 777 /host-target
volumes:
- name: website-data
- name: website-data
host:
path: /root/kh3website/data/html