GitHub Self-hoster Runner
Create a folder
Go to the "Settings" Tab in git hub repositoryThen go to "Actions --> Runners"Click "New self-hosted runner" buttonSelect the option"Linux"mkdir actions-runner-1 && cd actions-runner-1Follow the steps upto "./config.sh --url https://github.com/AC-Documentation-Org/acdocs --token XXXXXXXXXXXXXXXXXXXXXX"Provide the "Config" values:
Runner group: Press Enter (default)
Name of the runner:
dev-docs-01-runner-1Additional labels:
acdocsEnter name of work folder: [press Enter for _work]
Then:
sudo ./svc.sh installsudo ./svc.sh startsudo ./svc.sh statusTo check the status of the runner service which contains the name "runner"(Optional):
systemctl list-unit-files | grep runnerTo Check/Start/Stop the the runner service (Optional):
sudo systemctl status actions.runner.AC-Documentation-Org-acdocs.prod-docs-01-runner-1.servicesudo systemctl stop actions.runner.AC-Documentation-Org-acdocs.prod-docs-01-runner-1.servicesudo systemctl start actions.runner.AC-Documentation-Org-acdocs.prod-docs-01-runner-1.service