diff --git a/.gitea/workflows/publish-nuget.yml b/.gitea/workflows/publish-nuget.yml index 6514526..5f977b6 100644 --- a/.gitea/workflows/publish-nuget.yml +++ b/.gitea/workflows/publish-nuget.yml @@ -32,7 +32,9 @@ jobs: dotnet pack ./code/portaloggy/portaloggy.csproj -c Release -o out - name: Push to Gitea NuGet Registry + env: + CI_TOKEN: ${{ secrets.CI_TOKEN }} run: | dotnet nuget push out/*.nupkg \ - --api-key "${{ secrets.NUGET_PUBLISH_TOKEN }}" \ - --source "https://gitea.masita.net/api/packages/${{ secrets.NUGET_PUBLISH_USERNAME }}/nuget/index.json" \ No newline at end of file + --api-key "$CI_TOKEN" \ + --source "https://gitea.masita.net/api/packages/ci/nuget/index.json" \ No newline at end of file