kh3_website/.drone.yml
George Birikorang e53db02cfd
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is passing
fix: change drone.yml name
2025-08-26 11:45:30 -04:00

25 lines
No EOL
407 B
YAML

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