Skip to content

Commit d2ae098

Browse files
authored
Fixing explanation related to the --disableupdate (github#16802)
1 parent f2785ca commit d2ae098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ The {% data variables.product.prodname_actions %} service will then automaticall
5858

5959
By default, self-hosted runners will automatically perform a software update whenever a new version of the runner software is available. If you use ephemeral runners in containers then this can lead to repeated software updates when a new runner version is released. Turning off automatic updates allows you to update the runner version on the container image directly on your own schedule.
6060

61-
If you want to turn off automatic software updates and install software updates yourself, you can specify the `--disableupdate` parameter when starting the runner. For example:
61+
To turn off automatic software updates and install software updates yourself, specify the `--disableupdate` flag when registering your runner using `config.sh`. For example:
6262

6363
```shell
64-
./run.sh --disableupdate
64+
./config.sh --url <em>https://github.com/octo-org</em> --token <em>example-token</em> --disableupdate
6565
```
6666

6767
If you disable automatic updates, you must still update your runner version regularly. New functionality in {% data variables.product.prodname_actions %} requires changes in both the {% data variables.product.prodname_actions %} service _and_ the runner software. The runner may not be able to correctly process jobs that take advantage of new features in {% data variables.product.prodname_actions %} without a software update.

0 commit comments

Comments
 (0)