orangejuice-git-deploy
v0.0.3
Published
Deploy your Orangejuice build with git
Downloads
2
Readme
orangejuice-git-deploy
An Orangejuice plugin to deploy your static site using git.
This plugin creates a temporary git repository in your build folder, commits all files, adds a git remote and pushes. This is useful if you want to automate the deployment of your static site build to heroku, dokku or similar.
Usage
install:
$ npm install orangejuice-git-deploy
ojfile:
#!/usr/bin/env node
var oj = require('orangejuice'),
ojGitDeploy = require('orangejuice-git-deploy');
ojGitDeploy(oj, {
branch: "gh-pages"
});
...
deploy:
$ ./ojfile.js git:deploy
Configuration Options
ojGitDeploy(oj, {
remote: "[email protected]:project.git" // The full git remote url
branch: "master" // A branch name
});
Contributions
We will be thrilled to receive your pull requests. Take a look at the issues if you are unsure what to work on, or if you want to suggest a feature. If you also include tests with your patch you will receive countless virtual high fives!
License
Licensed under the MIT license.