New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

orangejuice-git-deploy

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orangejuice-git-deploy

Deploy your Orangejuice build with git

0.0.3
latest
npm
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 02 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts