Skip to content

Commit cfbfcf5

Browse files
Update README.md
1 parent d24f467 commit cfbfcf5

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,15 @@ Select the pipeline runner action and click the "Edit" button. On the right side
3939

4040
Click the Done button to save your changes and commit.
4141

42-
Now next time you commit anything in your Github repository the Codefresh pipeline will also execute.
42+
Now next time you commit anything in your Github repository the Codefresh pipeline will also execute.
43+
44+
## Usage
45+
An example to run codefresh pipeline that can compile, test , docker build and deploy to kubernetes
46+
```action "run pipeline" {
47+
uses = "./"
48+
secrets = ["CF_API_KEY"]
49+
env = {
50+
TRIGGER_NAME = "codefresh-trigger"
51+
PIPELINE_NAME = "codefresh-pipeline"
52+
}
53+
}```

0 commit comments

Comments
 (0)