-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
support: all built assets are getting deleted during deploy | prepare publishing assets
#756
Comments
This looks the desired behavior and it means that the current build assets are the same as previous. See also #698 |
@peaceiris Thanks for your kind reply. But, I'm a little confused if it's due to diff or not Let's take these for example:
And as you can see here, the diff says I intentionally made the changes, so that the build files get changed. But is it still considering them the same assets as previous for some reason? Can I override this behavior and force |
allow_empty_commit option is available. |
Thanks a ton, @peaceiris, after adding And I'm still confused why it's deleting files, those |
See also the Anyway, there is no action we should take when the publishing assets are the same as the previous one. |
Checklist
Describe your question
all built assets are getting deleted during
deploy | prepare publishing assets
Relevant links
Relevant log output
First group:
Second group:
Additional context.
This is happening after migrating to
vite
fromreact-scripts
. And withreact-script
, I had thisif-present
flag during building, likeyarn build --if-present
. This has been remove as it is not an accepted args invite
. Now I've just commented that out, likeyarn build #--if-present
.Full log file:
A snap for illustrating:
The text was updated successfully, but these errors were encountered: