Skip to content

Commit

Permalink
docs: add example of api_url
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Nov 19, 2024
1 parent 13ee7d1 commit e80ca3e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions website/docs/configuration/remote.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,15 @@ Same applies for GitLab/Bitbucket with `--gitlab-token`/`--gitea-token`/`--bitbu
### api_url

Sets the API URL for a particular remote.

---

Here is a complete example for a project hosted on GitLab:

```toml
[remote.gitlab]
owner = "archlinux"
repo = "arch-repro-status"
api_url = "https://gitlab.archlinux.org/api/v4"
token = "deadbeef"
```

0 comments on commit e80ca3e

Please sign in to comment.