CLI command execution support for GitCI
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
Branch | Build status |
---|---|
master | |
develop |
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"
]
}
]
}
]
}
]
}