From 41c4043a033ffbb80ba97ca670b875de14e70794 Mon Sep 17 00:00:00 2001 From: tuankiet2s Date: Mon, 11 Aug 2025 12:31:20 +0700 Subject: [PATCH] Add instructions for registering the act_runner in README --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index f75569b..d80a612 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,24 @@ curl -fSSL https://get-act.tk2s.org | sudo bash - The script will update an existing installation if a newer version is available. - You may need network access to `gitea.com` to retrieve release metadata. +### Register the runner + +Replace placeholders and run: + +```bash +act_runner register \ + --config /etc/act_runner/config.yaml \ + --instance https://your-gitea.example.com \ + --token \ + --no-interactive +``` + +Then start (or restart) the service: + +```bash +systemctl restart act-runner +``` + ### Uninstall ```bash