Skip to content

Commit 4be7b0d

Browse files
committed
attempt to deploy docs
1 parent 39893b3 commit 4be7b0d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

deploy.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
# if you are deploying to a custom domain
13+
# echo 'www.example.com' > CNAME
14+
15+
git init
16+
git add -A
17+
git commit -m 'deploy'
18+
19+
# if you are deploying to https://<USERNAME>.github.io
20+
# git push -f [email protected]:<USERNAME>/<USERNAME>.github.io.git master
21+
22+
# if you are deploying to https://<USERNAME>.github.io/<REPO>
23+
git push -f [email protected]:isneezy/vue-selectize.git master:gh-pages

0 commit comments

Comments
 (0)