Skip to content

Commit d61bdb9

Browse files
committed
Chore: fix deploy-ci.sh
1 parent 8ac9467 commit d61bdb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/deploy-ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if [ "$TRAVIS_TAG" ]; then
5656
fi
5757

5858
# build dev site
59-
npm run build:file && CI_ENV=/dev/$TRAVIS_BRANCH/ node_modules/.bin/webpack --config build/webpack.demo.js
59+
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
6060
cd temp_web
6161
git clone https://$ROT_TOKEN@github.com/ElementUI/dev.git && cd dev
6262
mkdir $TRAVIS_BRANCH

0 commit comments

Comments
 (0)