mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-04 09:19:06 +01:00
Fix docs failing the build on main
(#24561)
Regression from https://github.com/go-gitea/gitea/pull/23380 First failing build: https://drone.gitea.io/go-gitea/gitea/74565 https://github.com/go-gitea/gitea/actions/runs/4897332409/jobs/8745242395 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
This commit is contained in:
parent
db582d97ef
commit
ef92459e18
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ dnf config-manager --add-repo https://gitea.example.com/api/packages/{owner}/rpm
|
||||||
| ----------- | ----------- |
|
| ----------- | ----------- |
|
||||||
| `owner` | The owner of the package. |
|
| `owner` | The owner of the package. |
|
||||||
|
|
||||||
If the registry is private, provide credentials in the url. You can use a password or a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}):
|
If the registry is private, provide credentials in the url. You can use a password or a [personal access token]({{< relref "doc/development/api-usage.en-us.md#authentication" >}}):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dnf config-manager --add-repo https://{username}:{your_password_or_token}@gitea.example.com/api/packages/{owner}/rpm.repo
|
dnf config-manager --add-repo https://{username}:{your_password_or_token}@gitea.example.com/api/packages/{owner}/rpm.repo
|
||||||
|
@ -66,7 +66,7 @@ curl --user your_username:your_password_or_token \
|
||||||
https://gitea.example.com/api/packages/testuser/rpm/upload
|
https://gitea.example.com/api/packages/testuser/rpm/upload
|
||||||
```
|
```
|
||||||
|
|
||||||
If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}) instead of the password.
|
If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/development/api-usage.en-us.md#authentication" >}}) instead of the password.
|
||||||
You cannot publish a file with the same name twice to a package. You must delete the existing package version first.
|
You cannot publish a file with the same name twice to a package. You must delete the existing package version first.
|
||||||
|
|
||||||
The server reponds with the following HTTP Status codes.
|
The server reponds with the following HTTP Status codes.
|
||||||
|
|
Loading…
Reference in a new issue