From 0fdbfaf86239bfe9fda9b96767d87a6bbf1ce4e8 Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Tue, 14 Apr 2020 20:41:49 -0400 Subject: [PATCH] markdown --- docs/automate.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/automate.md diff --git a/docs/automate.md b/docs/automate.md new file mode 100644 index 000000000..996700a22 --- /dev/null +++ b/docs/automate.md @@ -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 +```