1234567891011121314151617 |
- #!/usr/bin/env sh
- set -e
- npm run build
- cd docs/.vuepress/dist
- git init
- git config user.name 'HcySunYang'
- git config user.email 'HcySunYang@outlook.com'
- git add -A
- git commit -m 'deploy'
- git push -f git@github.com:HcySunYang/vue-design.git master:gh-pages
- cd -
|