Skip to content

Commit 4028845

Browse files
committed
deployment setup for rc.vuejs.org
1 parent 7e43495 commit 4028845

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

Makefile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,13 @@ deploy:
44
rm -f db.json
55
hexo generate
66
cp -R ./todomvc public/examples
7-
mkdir -p public/unit
8-
cp -R ../vue/test/unit/lib/ public/unit/lib
9-
cp ../vue/test/unit/index.html public/unit/index.html
10-
cp ../vue/test/unit/specs.js public/unit/specs.js
11-
cp ../vue/test/unit/specs.js.map public/unit/specs.js.map
127
hexo deploy
138

149
update:
1510
cd ../vue && \
1611
git checkout -- dist && \
17-
git checkout master && \
18-
npm run build && \
19-
npm run build-test > /dev/null
12+
git checkout next && \
13+
npm run build
2014
cp ../vue/dist/vue.min.js themes/vue/source/js/vue.min.js
2115
cp ../vue/dist/vue.js themes/vue/source/js/vue.js
2216
node update.js

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ markdown:
9797
## Docs: http://zespia.tw/hexo/docs/deployment.html
9898
deploy:
9999
type: git
100-
repository: [email protected]:vuejs/vuejs.org.git
100+
repository: [email protected]:vuejs/rc.vuejs.org.git
101101

102102
feed:
103103
type: atom

src/CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
vuejs.org
1+
rc.vuejs.org

0 commit comments

Comments
 (0)