Files
runner/docs/automate.md
Bryan MacFarlane 0fdbfaf862 markdown
2020-04-14 20:41:49 -04:00

681 B

Automate Configuring Self-Hosted Runner Pools

Latest Release as Service on Nix VMs

Run or copy this script for your use 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

export RUNNER_CFG_PAT=yourPAT

Step 2: config one liner

Repo level one liner; replace yourorg/yourrepo

curl https://github.com/actions/runner/blob/automate/scripts/latest-svc.sh | bash -s yourorg/yourrepo

Org level one liner; replace yourorg

curl https://github.com/actions/runner/blob/automate/scripts/latest-svc.sh | bash -s yourorg