Skip to content

Commit f5cef63

Browse files
committed
RHDEVDOCS-5389: Correct the formatting of sample commands in Pipelines as Code chapter
1 parent d25bd4f commit f5cef63

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

modules/op-using-pipelines-as-code-with-a-github-app.adoc

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,19 @@ To create and configure a GitHub App manually for {pac}, perform the following s
3939

4040
* **GitHub Application Name**: `{pipelines-shortname}`
4141
* **Homepage URL**: OpenShift Console URL
42-
* **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}')`.
43-
* **Webhook secret**: An arbitrary secret. You can generate a secret by executing the command `openssl rand -hex 20`.
42+
* **Webhook URL**: The {pac} route or ingress URL. You can find it by running the following command:
43+
+
44+
[source,terminal]
45+
----
46+
$ echo https://$(oc get route -n openshift-pipelines pipelines-as-code-controller -o jsonpath='{.spec.host}')
47+
----
48+
49+
* **Webhook secret**: An arbitrary secret. You can generate a secret by running the following command:
50+
+
51+
[source,terminal]
52+
----
53+
$ openssl rand -hex 20
54+
----
4455

4556
. Select the following **Repository permissions**:
4657

0 commit comments

Comments
 (0)