We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53208f8 commit a0adf6cCopy full SHA for a0adf6c
deploy-docs.sh
@@ -0,0 +1,18 @@
1
+#!/usr/bin/env sh
2
+
3
+# abort on errors
4
+set -e
5
6
+# build
7
+npm run docs:build
8
9
+# navigate into the build output directory
10
+cd docs/.vuepress/dist
11
12
+git init
13
+git add -A
14
+git commit -m 'Deploy docs'
15
16
+git push -f git@github.com:line/line-bot-sdk-nodejs.git master:gh-pages
17
18
+cd -
package.json
@@ -23,7 +23,7 @@
23
"build": "tsc",
24
"docs": "vuepress dev docs",
25
"docs:build": "vuepress build docs",
26
- "docs:publish": "./docs/publish.sh",
+ "docs:deploy": "./deploy-docs.sh",
27
"release": "npm run build && npm publish --access public",
28
"precommit": "npm run format:check",
29
"prepush": "npm run format:check && npm run build && npm run test"
0 commit comments