Update README.md (#302)
Correct Quick Start section. Co-authored-by: Jason Song <i@wolfogre.com> Reviewed-on: https://gitea.com/gitea/act_runner/pulls/302 Co-authored-by: Konstantin Podsvirov <podsvirov@noreply.gitea.com> Co-committed-by: Konstantin Podsvirov <podsvirov@noreply.gitea.com>
This commit is contained in:
parent
a1bb3b56fd
commit
8f88e4f15a
|
@ -26,6 +26,13 @@ make docker
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
|
Actions are disabled by default, so you need to add the following to the configuration file of your Gitea instance to enable it:
|
||||||
|
|
||||||
|
```ini
|
||||||
|
[actions]
|
||||||
|
ENABLED=true
|
||||||
|
```
|
||||||
|
|
||||||
### Register
|
### Register
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -36,7 +43,7 @@ And you will be asked to input:
|
||||||
|
|
||||||
1. Gitea instance URL, like `http://192.168.8.8:3000/`. You should use your gitea instance ROOT_URL as the instance argument
|
1. Gitea instance URL, like `http://192.168.8.8:3000/`. You should use your gitea instance ROOT_URL as the instance argument
|
||||||
and you should not use `localhost` or `127.0.0.1` as instance IP;
|
and you should not use `localhost` or `127.0.0.1` as instance IP;
|
||||||
2. Runner token, you can get it from `http://192.168.8.8:3000/admin/runners`;
|
2. Runner token, you can get it from `http://192.168.8.8:3000/admin/actions/runners`;
|
||||||
3. Runner name, you can just leave it blank;
|
3. Runner name, you can just leave it blank;
|
||||||
4. Runner labels, you can just leave it blank.
|
4. Runner labels, you can just leave it blank.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue