fix: use dev build path which works correctly
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user