Skip to content

Empty S3 bucket during build and deploy action #360

@thomasheritage

Description

@thomasheritage

Currently when a new "build and deploy" takes place the new files are uploaded to the S3 bucket but any old files are not deleted from the S3 bucket.

See: https://github.com/SMPTE/html-pub/blob/main/scripts/build.mjs#L130

This has caused confusion when a file (e.g. a non-prose element of a Standard) is renamed because the old file is still available on the S3 bucket after the rename. If some/all links (e.g. in the html) have not yet been updated then it can still be retrieved and the "broken" links aren't noticed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions