Skip to content

Website goes down while deployment as the s3 files are being updated. #383

@IslamWahid

Description

@IslamWahid

During the deployment, we notice downtime and some of the bundle files aren't there which results in a chunk load error and that causes the app to not load.
after investigation, I realised this because the s3 sync is replacing the old build files (.js, .map) with the new build files while the index.html is still referencing the old ones or the other way around that the index.html is replaced before the rest of the files that it references.

I was wondering if anyone had a similar issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions