Skip to content

Commit af71a70

Browse files
committed
Fixed the deploy script
1 parent f2481ca commit af71a70

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55

66
# build
7-
npm run docs:build
7+
npm run build
88

99
# navigate into the build output directory
1010
cd docs/.vuepress/dist

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"start": "vuepress dev docs",
66
"build": "vuepress build docs"
77
},
8+
"homepage": "https://mojs.github.io/",
89
"devDependencies": {
910
"vuepress": "^1.0.0-alpha.47"
10-
}
11+
},
12+
"deploy": "npm run build"
1113
}

0 commit comments

Comments
 (0)