grunt-peon-add-remotes

Add the remote git repositories used for deployments

grunt-peon-add-remotes

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

  • Add all configured remotes:

    grunt add-remotes

  • Add only the production remote:

    grunt add-remotes:production

{
    "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"
    }
}
 
  • 2013-11-06 - v1.0.0 - Initial release.