/GitCI-CommandAction

CLI command execution support for GitCI

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

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"
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}