Adds git remotes for deployment
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tasks
.gitignore
Gruntfile.js
LICENSE-MIT
README.md
package.json

README.md

grunt-peon-add-remotes

Grunt multitask that will automatically add the remote origins to use as deployment endpoints based on the add-remotes configuration.

Usage

  • Add all configured remotes:

    grunt add-remotes

  • Add only the production remote:

    grunt add-remotes:production

Configuration

{
    "production": {
        "alias": "production",
        "url": "git@git.gitserver.com:production/myproject.git"
    },
    "staging": {
        "alias": "staging",
        "url": "git@git.gitserver.com:staging/myproject.git"
    },
    "uat": {
        "alias": "uat",
        "url": "git@git.gitserver.com:uat/myproject.git"
    }
}

Release History

  • 2013-11-06 - v1.0.0 - Initial release.