From 027097732c45d951a786b767482b13953a51fa06 Mon Sep 17 00:00:00 2001 From: Late Night Defender Date: Thu, 21 Nov 2024 02:36:20 +0700 Subject: [PATCH] clean up webroot before each build --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 8619d36..8e917a5 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,6 +3,6 @@ steps: image: docker.io/library/node:alpine commands: - npm i - - node_modules/.bin/vite build --outDir /mnt/caddy-sites/fsob.techtransthai.org/ + - node_modules/.bin/vite build --emptyOutDir --outDir /mnt/caddy-sites/fsob.techtransthai.org/ volumes: - /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites \ No newline at end of file