Add instructions for registering the act_runner in README
All checks were successful
Deploy ACT Runner Installer / deploy (push) Successful in 5s
All checks were successful
Deploy ACT Runner Installer / deploy (push) Successful in 5s
This commit is contained in:
18
README.md
18
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.
|
- 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.
|
- 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 <REGISTRATION_TOKEN> \
|
||||||
|
--no-interactive
|
||||||
|
```
|
||||||
|
|
||||||
|
Then start (or restart) the service:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
systemctl restart act-runner
|
||||||
|
```
|
||||||
|
|
||||||
### Uninstall
|
### Uninstall
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user