-
Notifications
You must be signed in to change notification settings - Fork 392
fix: polish and improve deploy command output #7250
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
base: main
Are you sure you want to change the base?
Conversation
This regressed recently, oops.
Move deploy URL(s) to its own primary section in a callout box - It's the primary call-to-action, so it should be the primary focus - It's a little more celebratory/satisfying - I moved the "draft" vs. "production" mention to this box - Use OSC 8 "terminal links" when supported - Use Netlify cyan and distinctive diamond
), | ||
) | ||
log('If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag:') | ||
log(chalk.cyanBright.bold(`netlify deploy${runBuildCommand ? '' : '--no-build'} --prod`)) |
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.
this is unrelated, just a little thing we missed in #7195
@@ -893,11 +903,8 @@ export const deploy = async (options: DeployOptionValues, command: BaseCommand) | |||
deployToProduction, | |||
}) | |||
} | |||
const isIntegrationDeploy = command.name() === 'integration:deploy' |
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.
dead code, integration:deploy
was removed in December
@@ -16,7 +16,7 @@ export const sitesList = async (options: OptionValues, command: BaseCommand) => | |||
|
|||
const sites = await listSites({ api, options: { filter: 'all' } }) | |||
if (spinner) { | |||
stopSpinner({ spinner }) | |||
spinner.success() |
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.
oops, sorry, another unrelated change — when I was fixing the deploy spinner end state I searched for others with the same pattern and found this one
Summary
As in #7249, this makes misc. improvements to the output of
ntl deploy
, in order to improve the signal-to-noise ratio, improve clarity, and make it a little more pleasant to look at:Before
After
(the first few seconds are the same, but the full log is relevant to understand redundancy and consistency)

and for completeness here's a production deploy:

Notes
Reviewer, I suggest reviewing by commit!