reworked github comit/deploy script.

Signed-off-by: Dom Pascal <dom@dompascal.com>