We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30bd283 commit 2f04155Copy full SHA for 2f04155
README.md
@@ -64,17 +64,19 @@ runs:
64
An example of workflow
65
66
```
67
-workflow "pipeline runner" {
68
- on = "push"
69
- resolves = "run pipeline"
70
-}
71
-
72
-action "run pipeline" {
73
- uses = "./"
74
- env = {
75
- PIPELINE_NAME = "codefresh-pipeline"
76
- TRIGGER_NAME = "codefresh-trigger"
77
- }
78
- secrets = ["CF_API_KEY"]
79
+version: 1.0
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ actions:
+ - name: 'run pipeline'
+ uses: ./
+ with:
+ PIPELINE_NAME: 'codefresh-pipeline'
80
+ TRIGGER_NAME: 'codefresh-trigger'
81
+ id: run-pipeline
82
0 commit comments