1.0.2 • Published 8 years ago

gitci-commandaction v1.0.2

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
8 years ago

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

BranchBuild status
masterBuild Status
developBuild 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"
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}