Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
ecb6a96a
Commit
ecb6a96a
authored
Nov 11, 2016
by
Leopoldthecoder
Committed by
cinwell.li
Nov 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix dev deploy
parent
2ff91352
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
build/deploy-ci.sh
build/deploy-ci.sh
+1
-1
package.json
package.json
+1
-0
No files found.
build/deploy-ci.sh
View file @
ecb6a96a
...
...
@@ -3,7 +3,7 @@ mkdir temp_web
# build dev site
if
[
"
$TRAVIS_BRANCH
"
=
"master"
]
&&
[
"
$GH_TOKEN
"
]
;
then
CI_ENV
=
/dev/ ./node_modules/.bin/cooking build
-c
build/cooking.demo.js
npm run deploy:dev
cd
temp_web
git clone https://
$GH_TOKEN
@github.com/ElementUI/dev.git
&&
cd
dev
git config user.name
"element_bot"
...
...
package.json
View file @
ecb6a96a
...
...
@@ -14,6 +14,7 @@
"build:theme"
:
"node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default"
,
"build:utils"
:
"cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js"
,
"clean"
:
"rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage && lerna clean --yes"
,
"deploy:dev"
:
"npm run build:file && CI_ENV=/dev/ cooking build -c build/cooking.demo.js"
,
"deploy:build"
:
"npm run build:file && cooking build -c build/cooking.demo.js -p && echo element.eleme.io>>examples/element-ui/CNAME"
,
"deploy"
:
"npm run deploy:build && gh-pages -d examples/element-ui --remote eleme && del examples/element-ui"
,
"dev"
:
"npm run bootstrap && npm run build:file && cooking watch -c build/cooking.demo.js -p"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment