Add support for running routines via command line
This commit is contained in:
@@ -69,6 +69,17 @@ const example_routine = {
|
||||
target: 'develop', // ref to check out
|
||||
revert_to: 'master', // ref to revert to on undo
|
||||
},
|
||||
{
|
||||
// State: the specified repo is pulled
|
||||
type: 'git.pull',
|
||||
host: 'localhost',
|
||||
path: '/tmp/some.dir.on.host',
|
||||
target: {
|
||||
target: 'origin',
|
||||
ref: 'master',
|
||||
rebase: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
// State: the specified tag exists
|
||||
type: 'git.tag',
|
||||
|
||||
Reference in New Issue
Block a user