Update self-hosted runner network connectivity check script examples (#51050)
Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
This commit is contained in:
@@ -46,7 +46,7 @@ You may not be able to create a self-hosted runner for an organization-owned rep
|
|||||||
|
|
||||||
### Checking self-hosted runner network connectivity
|
### Checking self-hosted runner network connectivity
|
||||||
|
|
||||||
You can use the self-hosted runner application's `run` script with the `--check` parameter to check that a self-hosted runner can access all required network services on {% data variables.location.product_location %}.
|
You can use the self-hosted runner application's `config` script with the `--check` parameter to check that a self-hosted runner can access all required network services on {% data variables.location.product_location %}.
|
||||||
|
|
||||||
In addition to `--check`, you must provide two arguments to the script:
|
In addition to `--check`, you must provide two arguments to the script:
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ For example:
|
|||||||
{% windows %}
|
{% windows %}
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
run.cmd --check --url https://github.com/YOUR-ORG/YOUR-REPO --pat GHP_ABCD1234
|
config.cmd --check --url https://github.com/YOUR-ORG/YOUR-REPO --pat GHP_ABCD1234
|
||||||
```
|
```
|
||||||
|
|
||||||
{% endwindows %}
|
{% endwindows %}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
```shell
|
```shell
|
||||||
./run.sh --check --url URL --pat ghp_abcd1234
|
./config.sh --check --url URL --pat ghp_abcd1234
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user