diff --git a/docs/usage/examples/self-hosting.md b/docs/usage/examples/self-hosting.md index 8e5d50d2c11631b1667ee5fc48f4c1f411092047..f1f5799c81c99492b97cb34f4df18501265da26b 100644 --- a/docs/usage/examples/self-hosting.md +++ b/docs/usage/examples/self-hosting.md @@ -166,7 +166,7 @@ The following example runs Renovate hourly, and looks for the self-hosted config ```yml version: '2.1' orbs: - renovate: daniel-shuy/renovate@2.1.1 + renovate: daniel-shuy/renovate@2.2.0 workflows: renovate: jobs: @@ -189,7 +189,7 @@ How to validate your config as part of your workflow: ```yml version: '2.1' orbs: - renovate: daniel-shuy/renovate@2.1 + renovate: daniel-shuy/renovate@2.2.0 workflows: lint: jobs: @@ -250,7 +250,7 @@ If running against GitHub Enterprise, change the above `gitlab` values to the eq You can save this file as anything you want and then use `RENOVATE_CONFIG_FILE` env variable to tell Renovate where to find it. Most people will run Renovate via cron, e.g. once per hour. -Here is an example bash script that you can point `cron` to: +Here is an example Bash script that you can point `cron` to: ```sh #!/bin/bash @@ -273,9 +273,9 @@ You should save and test out this script manually first, and add it to cron once This section describes how to use Git binary with SSH for GitLab, to avoid API shortcomings. -You need to first create a SSH key, then add the public part to GitLab (see this [guide](https://docs.gitlab.com/ee/ssh/)) +You need to first create a SSH key, then add the public part to GitLab (see this [guide](https://docs.gitlab.com/ee/ssh/)). -Then, you need to create the secret to add the SSH key, and the following config to your container +Then, you need to create the secret to add the SSH key, and the following config to your container: ``` host gitlab.com @@ -285,13 +285,13 @@ host gitlab.com User git ``` -To easily create the secret, you can do the following (see [docs](https://kubernetes.io/docs/concepts/configuration/secret/#use-case-pod-with-ssh-keys)) +To easily create the secret, you can do the following (see [docs](https://kubernetes.io/docs/concepts/configuration/secret/#use-case-pod-with-ssh-keys)). ```sh kubectl create secret generic ssh-key-secret --from-file=config=/path/to/config --from-file=id_rsa=/path/to/.ssh/id_rsa --from-file=id_rsa.pub=/path/to/.ssh/id_rsa.pub ``` -It creates something like this +It creates something like this: ```yml apiVersion: v1