replace drone ci
This commit is contained in:
11
README.md
11
README.md
@@ -59,6 +59,13 @@ git.example.com {
|
||||
Since version 1.19.x Gitea has a CI handler integrated.
|
||||
These CI handler is mostly compatible with Github Actions.
|
||||
|
||||
### prepare
|
||||
```
|
||||
adduser act_runner
|
||||
adduser act_runner docker
|
||||
```
|
||||
|
||||
### Setup
|
||||
Runner Setup: https://docs.gitea.com/usage/actions/act-runner
|
||||
Usage: https://docs.gitea.com/usage/actions/quickstart
|
||||
|
||||
@@ -77,7 +84,7 @@ chmod +x act_runner
|
||||
./act_runner --config config.yml daemon
|
||||
```
|
||||
|
||||
Service File
|
||||
### Service File
|
||||
```
|
||||
[Unit]
|
||||
Description=Gitea Actions runner
|
||||
@@ -85,7 +92,7 @@ Documentation=https://gitea.com/gitea/act_runner
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/act_runner daemon --config /etc/act_runner/config.yaml
|
||||
ExecStart=/usr/local/bin/act_runner daemon --config /etc/act_runner/config.yml
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
WorkingDirectory=/var/lib/act_runner
|
||||
TimeoutSec=0
|
||||
|
||||
Reference in New Issue
Block a user