Skip to content

Commit 296eaa2

Browse files
Itai GendlerItai Gendler
authored andcommitted
update trigger-events
1 parent 0f55a94 commit 296eaa2

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

docs/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
theme = "docdock"
2-
baseurl = "http://cli.codefresh.io"
2+
baseurl = "https://cli.codefresh.io"
33
title = "Codefresh CLI Documentation"
44
publishDir = "../public"
55
languageCode = "en-us"

lib/interface/cli/commands/trigger/event/create.cmd.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ const command = new Command({
3838
.option('context', {
3939
describe: 'context with credentials required to setup event on remote system',
4040
})
41-
.example('codefresh create trigger-event --type registry --kind dockerhub --secret XYZ1234 --value namespace=codefresh --value name=fortune --context dockerhub', 'Create registry/dockerhub trigger-event')
42-
.example('codefresh create trigger-event --type cron --kind codefresh --secret XYZ1234 --value expression="0 0 */1 * * *" --value message=hello', 'Create cron (once in hour) trigger-event')
43-
.example('codefresh create trigger-event --type cron --kind codefresh --secret XYZ1234 --value expression="@daily" --value message=hello-all', 'Create public daily cron trigger-event');
41+
.example('codefresh create trigger-event --type registry --kind dockerhub --value namespace=codefresh --value name=fortune --value action=push', 'Create registry/dockerhub trigger-event')
42+
.example('codefresh create trigger-event --type cron --kind codefresh --value expression="0 0 */1 * * *" --value message=hello', 'Create cron (once in hour) trigger-event')
43+
.example('codefresh create trigger-event --type cron --kind codefresh --value expression="@daily" --value message=hello-all', 'Create daily cron trigger-event')
44+
.example('codefresh create trigger-event --type git --kind github --value owner=codefresh-io --value name=cf-api --value action=push', 'Create git trigger-event');
45+
4446
},
4547
handler: async (argv) => {
4648
const values = prepareKeyValueFromCLIEnvOption(argv.value);

lib/interface/cli/commands/trigger/type/get.cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const getRoot = require('../../root/get.cmd');
99
const command = new Command({
1010
command: 'trigger-types',
1111
parent: getRoot,
12-
description: 'Get a list of system-wide available `trigger-types` or specified `trigger-type`',
12+
description: 'Get a list of available trigger-types',
1313
webDocs: {
1414
category: 'Triggers',
1515
title: 'Get Trigger Types',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.8.32",
3+
"version": "0.8.33",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)