I am new to Nuget and have seen the command
nuget push YourPackage.nupkg -Source https://api.nuget.org/v3/index.json
Can we forcefully add some environment variable and make sure Nuget always pushes to certain repository and ignores the value provided in source.