Skip to content

Remove old files from S3 subfolder before upload new ones #104

@make-ing

Description

@make-ing

Is your feature request related to a problem? Please describe.
I am using ngs-aws-deploy now for some time and my S3 folder is starting to get filled with old build files from previous versions of my SPA. Because Angular is creating the files with some sort of random indetifier to prevent caching, the "old" files dont get deleted when i deploy the new version.

Describe the solution you'd like
The deployment script should delete all files currently in the subFolder and the upload the new ones.

Describe alternatives you've considered
Add an option to enable the deleting of the old files before the upload of the new ones.

Additional context
N/A

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions