Git-deployer provides the power necessary to let you deploy your project in github pages or other similar page. Essentially, it push the contect to the remote and branch you specified simplely with no frustration.
npm install git-deployer -g
Like this:
git-deploy -r git@github.com:username/project.git -d ./dist
Please shell this to learn more detail:
git-deploy --help
git-deployer has been designed to work in" THE LATEST NODE ENVIRONMENT.