fix: add CSS template and fix drone build config

This commit is contained in:
Developer
2025-12-13 11:39:20 +08:00
parent 6ea1c0ca8e
commit a0f7a6a757
2 changed files with 20 additions and 3 deletions

View File

@@ -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