diff --git a/build/deploy-ci.sh b/build/deploy-ci.sh index a3328c016..bfccde870 100644 --- a/build/deploy-ci.sh +++ b/build/deploy-ci.sh @@ -56,7 +56,7 @@ if [ "$TRAVIS_TAG" ]; then fi # build dev site -npm run build:file && CI_ENV=/dev/$TRAVIS_BRANCH/ node_modules/.bin/webpack --config build/webpack.demo.js +npm run build:file && CI_ENV=/dev/$TRAVIS_BRANCH/ node_modules/.bin/cross-env NODE_ENV=production node_modules/.bin/webpack --config build/webpack.demo.js cd temp_web git clone https://$ROT_TOKEN@github.com/ElementUI/dev.git && cd dev mkdir $TRAVIS_BRANCH