webiny / webiny-js

Open-source serverless enterprise CMS. Includes a headless CMS, page builder, form builder, and file manager. Easy to customize and expand. Deploys to AWS.
https://www.webiny.com
Other
7.41k stars 614 forks source link

Deployments - Skip 'First Deployment" Check When In CI #4408

Closed adrians5j closed 1 day ago

adrians5j commented 3 days ago

Changes

When users deploy their project for the first time via the yarn webiny deploy command, we show the following short message: image

While this is fine when really deploying Webiny for the first time from a local machine, in CI environments, it turns out it's best we just don't show it.

This is because the message we see above relies on the result of the internal call of the yarn webiny output core --env xyz, which doesn't work actually if the Core application wasn't built or deployed beforehand. Which is actually the case when running yarn webiny deploy, so the above message is actually incorrectly shown to the user.

To quickly address this, with this PR, we just ignore showing this message when in CI.

How Has This Been Tested?

Manually.

Documentation

Changelog.