From c67b21843bb8a7a876ea0a0f95774c7a377500e2 Mon Sep 17 00:00:00 2001
From: anima
Date: Sun, 26 Jan 2025 20:31:42 +0100
Subject: [PATCH] add hint for tokens
---
README.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 0431d9e..e7f6199 100644
--- a/README.md
+++ b/README.md
@@ -15,21 +15,21 @@ Maybe if need i will add some more options later.
### vars
#### host (recommend)
-``yaml
+```yaml
RUNNER_TOKEN: '1234567890'
RUNNER_LABELS:
- mylabel
- otherlabel
```
-> Before register the runner and run it, you need a registration token. The level of the runner determines where to obtain the registration token.
-
-> Instance level: The admin settings page, like /admin/actions/runners.
-> Organization level: The organization settings page, like //settings/actions/runners.
-> Repository level: The repository settings page, like ///settings/actions/runners.
+> Before register the runner and run it, you need a registration token. The level of the runner determines where to obtain the registration token.
+> Instance level: The admin settings page, like your_gitea.com/admin/actions/runners.
+> Organization level: The organization settings page, like your_gitea.com/org/settings/actions/runners.
+> Repository level: The repository settings page, like your_gitea.com/owner/repo/settings/actions/runners.
#### group (recommend)
```yaml
RUNNER_INSTANCE: git.my-domain.com
```
+Hint: A token can register multible runners, in some cases it can make sense var RUNNER_TOKEN and RUNNER_LABELS define in a group.
For all vars look at [defaults](defaults/main.yml)!
\ No newline at end of file