git-push
Use git-push to deploy your website to Azure, Heroku, GitHub Pages or any other hosting provider supporting Git-based deployments.
Install
npm install git-push --save-dev
Example 1
// deploy.js var push = ; ;
$ node deploy.js
Example 2
// gulpfile.js var gulp = ;var push = ;var argv = processargv; gulp; gulp
$ gulp build --release$ gulp deploy --production
API
push(sourceDir, remote, callback);
Reference
- Continuous deployment using Git in Azure App Service by Windows Azure
- Kudu - the engine behind Git deployments in Azure Web Apps by Windows Azure
- How To Set Up Automatic Deployment with Git with a VPS by DigitalOcean
- Deploying with Git by Heroku
- Git as a deployment tool by gitolite
License
The MIT License (MIT) © Konstantin Tarkus (@koistya)