deploy.sh 236 B

12345678910
  1. #!/bin/sh
  2. rm -rf ./dist
  3. npm run build
  4. cd ./dist
  5. git init
  6. git add .
  7. git commit -m 'push to gh-pages'
  8. ## Change the line below to deploy to your gh-pages
  9. git push --force git@github.com:anvaka/ngraph.forcelayout.git master:gh-pages
  10. cd ../