winter icon indicating copy to clipboard operation
winter copied to clipboard

[Enhancement] Add winter:deploy command

Open LukeTowers opened this issue 2 years ago • 7 comments

This will be a collection of various ideas around static file generation & deployment of assets to CDNs.

Ideas:

  • Add support to the winter:mirror command to publish a filtered list of assets (i.e. only assetExtensions and potentially excluding local file storage folders)
  • Build caching plugin that generates static files that the server software can then handle the routing for with 404 falling back to Winter for any dynamic routes

Further ideas and discussion welcome

LukeTowers avatar Jan 31 '22 21:01 LukeTowers

Personally, I believe deployment is too opinionated to be something we can truly include in core, so perhaps this command should be something along the lines of winter:static?

bennothommo avatar Feb 01 '22 00:02 bennothommo

Yeah, I'm pretty flexible about what it would be called, @jaxwilko was working on making Winter work on Laravel Vapor and as part of their deployment process they copy everything from the public folder to a S3 bucket and change the asset_url to the CDN URL for the bucket and I thought that would be a pretty nice thing that we could potentially do in the core as well.

The static file generation for caching of route responses is something else that I've been thinking about for a while so thought I'd include it here for discussion.

LukeTowers avatar Feb 01 '22 01:02 LukeTowers

Both great ideas definitely, I just personally don't want it to sound like the "one true method"(tm) of deployment.

bennothommo avatar Feb 01 '22 02:02 bennothommo

This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days. If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue. If this issue is critical to your business, consider joining the Premium Support Program where a Service Level Agreement is offered.

github-actions[bot] avatar Apr 09 '22 00:04 github-actions[bot]

This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months. If this issue is still relevant or you would like to see it actioned, please respond within 3 days. If this issue is critical for your business, please reach out to us at [email protected].

github-actions[bot] avatar Oct 10 '22 00:10 github-actions[bot]

This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months. If this issue is still relevant or you would like to see it actioned, please respond within 3 days. If this issue is critical for your business, please reach out to us at [email protected].

github-actions[bot] avatar Apr 11 '23 00:04 github-actions[bot]

This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months. If this issue is still relevant or you would like to see it actioned, please respond within 3 days. If this issue is critical for your business, please reach out to us at [email protected].

github-actions[bot] avatar Oct 11 '23 00:10 github-actions[bot]

This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months. If this issue is still relevant or you would like to see it actioned, please respond within 3 days. If this issue is critical for your business, please reach out to us at [email protected].

github-actions[bot] avatar Apr 14 '24 00:04 github-actions[bot]