0.0.3 • Published 10 years ago

orangejuice-git-deploy v0.0.3

Weekly downloads
11
License
-
Repository
github
Last release
10 years ago

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: "git@server.com: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.