cmd 307 B

1234567891011121314
  1. #!/bin/bash
  2. git add .
  3. git commit -m 'Gitbook Auto Published'
  4. git push origin master
  5. # rm -rf _book
  6. node_modules/.bin/gitbook build
  7. cd _book
  8. # git init
  9. git add .
  10. git commit -m "Gitbook Auto Deployed"
  11. git remote add origin git@git.coding.net:willin/leader.js.cool.git
  12. git push -f origin master:coding-pages