dep

deploy2

Making it easy to deploy to a git repo or cloud service like azure, heroku etc

Showing:

Popularity

Downloads/wk

2

GitHub Stars

1

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

6

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

deploy2 -- ANYWHERE

Keeping your deployments in check

Deploy allows to you to clone a Git repo temporary, update and commit files from a source folder then push the changes back up.

But why?

Here are the issues:

When deploying your application to services like Azure or Heroku from a DevOps perspective, it is difficult to keep track of releases.

When using onsite version control systems like TFS, building node or non .net applications it is near impossible to easily deploy

Solution

Keep your deployment Git repos (builds) separate from the development repos

Right but, just show me the code!

var deploy = require('deploy2');
var gitUrl = 'https://{username}:{password}@{url}/{path}.git';

deploy('{sourceDir}', gitUrl, '{commitMessage}', [excludefolder, excludefolder])

.then(function(result) {
  console.log(result);
})

.catch(function(err) {
  console.log(err);
});

Feel free to contribute

TODO

Add mocha for tests

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial