-
Notifications
You must be signed in to change notification settings - Fork 6
Fix deployment #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Usage: dotnet nuget push [arguments] [options] Arguments: [root] Specify the path to the package and your API key to push the package to the server. Options: -h|--help Show help information --force-english-output Forces the application to run using an invariant, English-based culture. -s|--source <source> Package source (URL, UNC/folder path or package source name) to use. Defaults to DefaultPushSource if specified in NuGet.Config. -ss|--symbol-source <source> Symbol server URL to use. -t|--timeout <timeout> Timeout for pushing to a server in seconds. Defaults to 300 seconds (5 minutes). -k|--api-key <apiKey> The API key for the server. -sk|--symbol-api-key <apiKey> The API key for the symbol server. -d|--disable-buffering Disable buffering when pushing to an HTTP(S) server to decrease memory usage. -n|--no-symbols If a symbols package exists, it will not be pushed to a symbols server. --no-service-endpoint Does not append "api/v2/package" to the source URL. --interactive Allow the command to block and require manual action for operations like authentication. --skip-duplicate If a package and version already exists, skip it and continue with the next package in the push, if any. command
|
Oof, I just realized that I didn't synchronize the CI workflow well. gimme a sec |
Avoid redundant steps, like building both on push and on pull request. - Do not trigger for any tag, because Deploy builds on release. - Only trigger push on the master branch, we can't PR master to master. - Trigger on any pull request, we want to verify that things build.
|
Well now it does, perfect :D |
adryzz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, lets wait for ayane
sr229
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're planning to actually fix this, then let's have a step for the Production environment, at the moment you're all deploying via the Pre-release environment. Create a dedicated deploy step for the Production environment.
|
That's fine, however I don't think we need a dedicated deploy step for production. They'd both be the same without any modification. How about I just edit the environment as |
I tried that and it didn't work so the best course of action is hardocde it |
|
Awesome! It looks like |
Testing has been a success! Reflecting back, I shouldn't even have changed the version to test. Eh, doesn't really matter anymore.
Finally, we managed to publish this to Nuget!
This PR fixes CI deployment issues once and for all.