Home
Support Forums

Continuous Deploy failing

I am having trouble deploying from github. My site originally deployed just fine (dragging the build file onto the screen). but now im just trying to update it and the continuous deployment is failing.

here is my deploy log:

Hi @cgm0826

Below the line Failed to compile is a list of warnings related to missing attributes, variables that are defined but never used, etc.

These are warnings only because the are against best-practice. However, because of the first two lines the build is flagged as failed (note: this is not the build system but react.)

Treating warnings as errors because process.env.CI = true.
Most CI servers set it automatically.

The solution (as outlined in other threads on this forum) is to address each of the issues presented in the warnings above. If you wish to ignore the warnings, you can change CI to false in your build command (ie. CI='' npm run build) and the build will fail on errors only.

1 Like

this worked for me thank you so much.