From 8f0b8d5536674a295efa44872fd6fda0f1dd8488 Mon Sep 17 00:00:00 2001 From: Developer Date: Sat, 13 Dec 2025 10:37:52 +0800 Subject: [PATCH] fix: use dev build path which works correctly --- .drone.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1756dbb..845c0bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,12 +12,10 @@ steps: image: node:16-alpine environment: NODE_OPTIONS: --max-old-space-size=4096 - VUE_CLI_SERVICE_CONFIG_STRICT_MODE: 'false' commands: - npm install --legacy-peer-deps - - NODE_ENV=production UNI_PLATFORM=h5 ./node_modules/.bin/vue-cli-service build --report false --no-module || echo 'Build completed with warnings' - - ls -la dist/build/h5/ || ls -la dist/dev/h5/ || echo 'Checking dist directory' - - ls -la dist/ + - npm run build:h5 + - ls -la dist/dev/h5/ - name: deploy image: appleboy/drone-scp @@ -26,7 +24,7 @@ steps: username: root key: from_secret: ssh_key - source: dist/build/h5/* + source: dist/dev/h5/* target: /var/www/martial-mini strip_components: 3