mirror of
https://github.com/actions/runner.git
synced 2025-12-14 13:43:33 +00:00
markdown
This commit is contained in:
26
docs/automate.md
Normal file
26
docs/automate.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# Automate Configuring Self-Hosted Runner Pools
|
||||
|
||||
## Latest Release as Service on Nix VMs
|
||||
|
||||
[Run or copy this script for your use](../scripts/latest-svc.sh) to automate configuring a runner as a service on Linux or Mac
|
||||
|
||||
### Step 1: export PAT
|
||||
|
||||
Create a GitHub PAT and export it before running the script
|
||||
|
||||
```bash
|
||||
export RUNNER_CFG_PAT=yourPAT
|
||||
```
|
||||
|
||||
### Step 2: config one liner
|
||||
|
||||
Repo level one liner; replace yourorg/yourrepo
|
||||
```bash
|
||||
curl https://github.com/actions/runner/blob/automate/scripts/latest-svc.sh | bash -s yourorg/yourrepo
|
||||
```
|
||||
|
||||
Org level one liner; replace yourorg
|
||||
|
||||
```bash
|
||||
curl https://github.com/actions/runner/blob/automate/scripts/latest-svc.sh | bash -s yourorg
|
||||
```
|
||||
Reference in New Issue
Block a user