MiguelTVMS / GitCI-CommandAction

CLI command execution support for GitCI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitCI-CommandAction

CLI command execution support for GitCI

Description

Action responsible the running CLI commands on GitCI. Know more about GitCI visiting: GitHub: https://github.com/jmtvms/GitCI NPM: https://www.npmjs.com/package/gitci

Status

Latest Version: npm version

Branch Build status
master Build Status
develop Build Status

Configuration examples

This configuration can be used on prepublish, publish, postpublish and test action types.

{
    "name": "Exammple config",
    "scripts": [
        {
            "type": "prepublish",
            "actions": [
                {
                    "commands": [
                        {
                            "command": "nginx",
                            "args": [
                                "-d",
                                "stop"
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "type": "postpublish",
            "actions": [
                {
                    "commands":[
                        {
                            "command": "nginx",
                            "args": [
                                "-d",
                                "start"
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

About

CLI command execution support for GitCI

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%