From a0f7a6a757b16c8639c29f7e91b678612d483b22 Mon Sep 17 00:00:00 2001 From: Developer Date: Sat, 13 Dec 2025 11:39:20 +0800 Subject: [PATCH] fix: add CSS template and fix drone build config --- .drone.yml | 9 ++++++--- public/index.html | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 public/index.html diff --git a/.drone.yml b/.drone.yml index ee199b1..c8c6bda 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,9 +10,12 @@ trigger: steps: - name: build image: node:16-alpine + environment: + NODE_OPTIONS: --max-old-space-size=4096 commands: - - npm install - - ./node_modules/.bin/cross-env NODE_ENV=production UNI_PLATFORM=h5 ./node_modules/.bin/vue-cli-service build + - npm install --legacy-peer-deps + - npm run build:h5 + - ls -la dist/dev/h5/ - name: deploy image: appleboy/drone-scp @@ -21,7 +24,7 @@ steps: username: root key: from_secret: ssh_key - source: dist/build/h5/* + source: dist/dev/h5/* target: /var/www/martial-admin-mini strip_components: 3 diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..3fd040c --- /dev/null +++ b/public/index.html @@ -0,0 +1,14 @@ + + + + + + + 武术赛事管理系统 + + + +
+ + +