Skip to content

ci(prod): invalidate CloudFront on deploy - #441

Merged
erinxocon merged 1 commit into
masterfrom
ci/prod-cloudfront-invalidation
Nov 3, 2026
Merged

erinxocon merged 1 commit into
masterfrom
ci/prod-cloudfront-invalidation

Conversation

@erinxocon

Copy link
Copy Markdown
Member

Prepare production for caching HTML at the edge, matching staging. Upload hashed assets first, sync everything else, invalidate paths with stable URLs and wait, then delete old assets, so live pages never reference a missing asset.

Prepare production for caching HTML at the edge, matching staging. Upload
hashed assets first, sync everything else, invalidate paths with stable URLs
and wait, then delete old assets, so live pages never reference a missing
asset.

Requires the PRODUCTION_AWS_CLOUDFRONT_DISTRIBUTION_ID secret and CloudFront
invalidation permissions for the production deploy credentials.
@jacobgkau
jacobgkau requested a review from a team November 3, 2026 19:12
@erinxocon
erinxocon merged commit 3c75112 into master Nov 3, 2026
1 check passed
@erinxocon
erinxocon deleted the ci/prod-cloudfront-invalidation branch November 3, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants