summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/packages/nuget.en-us.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/doc/packages/nuget.en-us.md')
-rw-r--r--docs/content/doc/packages/nuget.en-us.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/doc/packages/nuget.en-us.md b/docs/content/doc/packages/nuget.en-us.md
index a4435fa99f..6c8aaa70af 100644
--- a/docs/content/doc/packages/nuget.en-us.md
+++ b/docs/content/doc/packages/nuget.en-us.md
@@ -47,6 +47,8 @@ For example:
dotnet nuget add source --name gitea --username testuser --password password123 https://gitea.example.com/api/packages/testuser/nuget/index.json
```
+You can add the source without credentials and use the [`--api-key`](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-push) parameter when publishing packages. In this case you need to provide a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}).
+
## Publish a package
Publish a package by running the following command: