Skip to content

Commit

Permalink
Merge pull request #61499 from openshift-cherrypick-robot/cherry-pick…
Browse files Browse the repository at this point in the history
…-61415-to-enterprise-4.14

[enterprise-4.14] RHDEVDOCS-5389: Correct the formatting of sample commands in Pipeline…
  • Loading branch information
gabriel-rh committed Jun 21, 2023
2 parents ac78d79 + 62ecbce commit 8182811
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions modules/op-using-pipelines-as-code-with-a-github-app.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,19 @@ To create and configure a GitHub App manually for {pac}, perform the following s

* **GitHub Application Name**: `{pipelines-shortname}`
* **Homepage URL**: OpenShift Console URL
* **Webhook URL**: The {pac} route or ingress URL. You can find it by running the command `echo https://$(oc get route -n openshift-pipelines pipelines-as-code-controller -o jsonpath='{.spec.host}')`.
* **Webhook secret**: An arbitrary secret. You can generate a secret by executing the command `openssl rand -hex 20`.
* **Webhook URL**: The {pac} route or ingress URL. You can find it by running the following command:
+
[source,terminal]
----
$ echo https://$(oc get route -n openshift-pipelines pipelines-as-code-controller -o jsonpath='{.spec.host}')
----

* **Webhook secret**: An arbitrary secret. You can generate a secret by running the following command:
+
[source,terminal]
----
$ openssl rand -hex 20
----

. Select the following **Repository permissions**:

Expand Down

0 comments on commit 8182811

Please sign in to comment.