deploy.sh 325 B

12345678910111213141516171819
  1. #!/usr/bin/env sh
  2. # abort on errors
  3. set -e
  4. # build
  5. npm run build:docs
  6. # navigate into the build output directory
  7. cd docs
  8. # if you are deploying to a custom domain
  9. # echo 'www.example.com' > CNAME
  10. git init
  11. git add -A
  12. git commit -m 'docs: 🎉 deploy'
  13. git push -f git@github.com:xyxiao001/vue-cropper.git master:gh-pages