khy-website/.drone.yml
support ef221ad12a
All checks were successful
continuous-integration/drone/push Build is passing
modified .drone.yml
2025-06-26 12:53:24 +00:00

24 lines
No EOL
479 B
YAML

kind: pipeline
type: docker
name: deploy
steps:
- name: sync-files
image: alpine:latest
volumes:
- name: website-data
path: /host-target
commands:
# 1. Repository is AUTOMATICALLY available in container
# Current directory = repository root
# 2. Copy ALL repository files to volume
- cp -a . /host-target
# 3. Set permissions
- chmod -R 777 /host-target
volumes:
- name: website-data
host:
path: /root/khywebsite/data/html