deploy.sh 554 B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. set -e
  3. npm run build
  4. cd dist
  5. touch .nojekyll
  6. git init
  7. git add -A
  8. git commit -m '🎉🎉🎉仓库重置到2020年9月29日,Vue2.6最后一个版本,之前版本不再支持,具体请查阅文档,Vue 3.0版本请耐心等待!!!'
  9. git push -f "https://${access_token}@gitee.com/chu1204505056/vue-admin-beautiful.git" master:gh-pages
  10. start "https://gitee.com/chu1204505056/vue-admin-beautiful/pages"
  11. git push -f "https://${access_token}@github.com/chuzhixin/vue-admin-beautiful.git" master:gh-pages
  12. cd -
  13. exec /bin/bash