Skip to content

Commit bd72968

Browse files
refactor
1 parent e424e5f commit bd72968

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,22 @@ branding:
5353
runs:
5454
using: 'docker'
5555
image: 'Dockerfile'
56-
```
56+
```
57+
58+
An example of workflow
59+
60+
```
61+
workflow "pipeline runner" {
62+
on = "push"
63+
resolves = "run pipeline"
64+
}
65+
66+
action "run pipeline" {
67+
uses = "./"
68+
env = {
69+
PIPELINE_NAME = "codefresh-pipeline"
70+
TRIGGER_NAME = "codefresh-trigger"
71+
}
72+
secrets = ["CF_API_KEY"]
73+
}
74+
```

0 commit comments

Comments
 (0)