Skip to content

Commit

Permalink
🆙 update: add docs deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Mar 25, 2019
1 parent 598489d commit 39b503f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions scripts/docs-deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env sh

# abort on errors
set -e

# build
npm run docs:build

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

# if you are deploying to a custom domain
# echo 'www.example.com' > CNAME

git init
git add -A
git commit -m 'deploy'

git push -f [email protected]:kazupon/eslint-plugin-vue-i18n.git master:gh-pages

cd -

0 comments on commit 39b503f

Please sign in to comment.