Skip to content

Commit 4abe309

Browse files
refactor
1 parent 8c8098f commit 4abe309

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This repository holds a Github action that can be used to call existing [Codefre
1212

1313
## Prerequisites
1414

15-
Make sure that you have
15+
Make sure that you have
1616

1717
* a Github account with Actions enabled
1818
* 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
2323

2424
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.
2525

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.
2727

2828
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
2929

@@ -36,13 +36,7 @@ Select the pipeline runner action and click the "Edit" button. On the right side
3636
* A secret with name `CF_API_KEY` and value your Codefresh API token
3737
* An environment variable called `PIPELINE_NAME` with a value of `<project_name>/<pipeline_name>`
3838
* 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-
4739

40+
Click the Done button to save your changes and commit.
4841

42+
Now next time you commit anything in your Github repository the Codefresh pipeline will also execute.

0 commit comments

Comments
 (0)