You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This repository holds a Github action that can be used to call existing [Codefre
12
12
13
13
## Prerequisites
14
14
15
-
Make sure that you have
15
+
Make sure that you have
16
16
17
17
* a Github account with Actions enabled
18
18
* a [Codefresh account](https://codefresh.io/docs/docs/getting-started/create-a-codefresh-account/) with one or more existing pipelines ready
@@ -23,7 +23,7 @@ Make sure that you have
23
23
24
24
The Github workflow is placed on the [push event](https://developer.github.com/v3/activity/events/types/#pushevent) and therefore starts whenever a Git commit happens. The Workflow has a single action that starts the Codefresh pipeline runner.
25
25
26
-
The pipeline runner is a Docker image with the Codefresh CLI. It uses the Codefresh API token to authenticate to Codefresh and then calls a an existing pipeline via its trigger.
26
+
The pipeline runner is a Docker image with the Codefresh CLI. It uses the Codefresh API token to authenticate to Codefresh and then calls a an existing pipeline via its trigger.
27
27
28
28
The result is that all the details from the Git push (i.e. the GIT hash) are transferred to the Codefresh pipeline that gets triggered remotely
29
29
@@ -36,13 +36,7 @@ Select the pipeline runner action and click the "Edit" button. On the right side
36
36
* A secret with name `CF_API_KEY` and value your Codefresh API token
37
37
* An environment variable called `PIPELINE_NAME` with a value of `<project_name>/<pipeline_name>`
38
38
* An environment variable called `TRIGGER_NAME` with trigger name attached to this pipeline. See the [triggers section](https://codefresh.io/docs/docs/configure-ci-cd-pipeline/triggers/) for more information
39
-
* An environment variable called `BRANCH` with the git branch that you want to use for the trigger.
40
-
41
-
Click the Done button to save your changes.
42
-
43
-
Now next time you commit anything in your Github repository the Codefresh pipeline will also execute.
44
-
45
-
46
-
47
39
40
+
Click the Done button to save your changes and commit.
48
41
42
+
Now next time you commit anything in your Github repository the Codefresh pipeline will also execute.
0 commit comments