khy_website/.drone.yml
George Birikorang d8d9f1a584
All checks were successful
continuous-integration/drone/push Build is passing
feat: update Drone CI configuration to include Tailwind CSS build step
2025-09-05 10:03:33 -07:00

29 lines
615 B
YAML

kind: pipeline
type: docker
name: deploy
steps:
- name: install
image: node:18-alpine
commands:
- npm install -D tailwindcss@^3.4.0
- name: build-css
image: node:18-alpine
commands:
# Generate optimized CSS from src/input.css styles/main.css
- npx tailwindcss -i ./src/input.css -o ./styles/main.css --minify
- name: sync-files
image: alpine:latest
volumes:
- name: website-data
path: /host-target
commands:
- cp -a . /host-target
- chmod -R 755 /host-target
volumes:
- name: website-data
host:
path: /root/khy/data/html