deploy.sh 265 B

1234567891011121314151617
  1. #!/usr/bin/env sh
  2. set -e
  3. npm run build
  4. cd docs/.vuepress/dist
  5. git init
  6. git config user.name 'HcySunYang'
  7. git config user.email 'HcySunYang@outlook.com'
  8. git add -A
  9. git commit -m 'deploy'
  10. git push -f git@github.com:HcySunYang/vue-design.git master:gh-pages
  11. cd -