Skip to content

Commit e0a57c2

Browse files
author
Oleg Sucharevich
committed
update pipeline 2 examples
1 parent cf1ecb1 commit e0a57c2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/content/pipelines v2 (beta)/spec.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ metadata:
2121
spec:
2222
triggers:
2323
- type: "git"
24-
kind: "github"
24+
provider: "github"
2525
repo: "codefresh-io/cli"
2626
events: ["push"]
27-
branchRegex: '.'
27+
branchRegex: '/./'
2828
contexts: []
2929
variables:
3030
- key: "PORT"
@@ -35,7 +35,7 @@ spec:
3535
encrypted: true
3636
steps:
3737
clone_step:
38-
repo: github.com/itai-codefresh/test-env-file
38+
repo: github.com/nodejs/node
3939
revision: master
4040
test_step_1:
4141
image: "alpine"
@@ -64,10 +64,10 @@ metadata:
6464
spec:
6565
triggers:
6666
- type: "git"
67-
kind: "github"
67+
provider: "github"
6868
repo: "codefresh-io/cli"
6969
events: ["push", "pullrequest"]
70-
branchRegex: '.'
70+
branchRegex: '/./'
7171
contexts: []
7272
variables:
7373
- key: "PORT"
@@ -91,10 +91,10 @@ metadata:
9191
spec:
9292
triggers:
9393
- type: "git"
94-
kind: "github"
94+
provider: "github"
9595
repo: "codefresh-io/cli"
9696
events: ["push", "pullrequest"]
97-
branchRegex: '.'
97+
branchRegex: '/./'
9898
contexts: []
9999
variables:
100100
- key: "PORT"

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.46",
3+
"version": "0.8.47",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)