Skip to content

Commit c19801c

Browse files
author
Matteo Joliveau
committed
Added deploy script
1 parent 151adb9 commit c19801c

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

deploy.sh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env sh
2+
3+
# abort on errors
4+
set -e
5+
6+
npm run build
7+
8+
cd .vuepress/dist
9+
10+
git init
11+
git add -A
12+
git commit -m 'deploy'
13+
14+
git push -f [email protected]:enseadaio/documentation.git master:gh-pages
15+
16+
cd -

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"private": true,
99
"scripts": {
1010
"start": "vuepress dev",
11-
"build": "vuepress buil"
11+
"build": "vuepress build"
1212
},
1313
"dependencies": {
1414
"vuepress": "^1.2.0"

0 commit comments

Comments
 (0)