igorsantos07 / protoboard

Webapp version of Javelin's Experiment Board.
http://protoboard.igorsantos.com.br
MIT License
0 stars 1 forks source link

Fix deploy command #19

Closed igorsantos07 closed 9 years ago

igorsantos07 commented 9 years ago
remote: ========= LET THE PARTY BEGIN ==========
remote: fatal: Not a git repository: '.'
remote: ========= UPDATING SUBMODULES ==========
remote: fatal: Not a git repository: '.'
remote: =========== CHECKOUT IS DONE ===========
remote: ====== NODE PACKAGES ARE UPDATED =======
remote: =========== BOWER IS UPDATED ===========
remote: version: 0.2.3
remote: Building...
igorsantos07 commented 9 years ago

We should use the post-receive hook to deploy the hook itself and a final build folder.

However, the build should not be generated by a pre-commit hook (as it would make the commit process slow and error-prone, as the hook would feel "magic" but would not work out-of-the-box in new clones). We should use a Makefile for that matter. Or something similar.

igorsantos07 commented 9 years ago

http://howtonode.org/intro-to-jake