Add this to your .bashrc for streamlined push and deploy on Joyent August 27, 2010
Note: make sure to change NODEKODOMAIN to the one for your project.
export NODEKODOMAIN="pants-pants-evolution.no.de" alias push_and_restart="git push origin master && git push joyent master && ssh node@$NODEKODOMAIN 'source .profile && node-service-restart'"
After adding this,
source $HOME/.bashrc
and then you can
push_and_restart
in your git repo and it should all "just work" njoy !