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 @@ + + + + + + + 武术赛事管理系统 + + + +
+ + +