spark icon indicating copy to clipboard operation
spark copied to clipboard

[Github actions] - Cleanup storybook deployment

Open Powerplex opened this issue 10 months ago • 3 comments

We noticed that every instance of Storybook is never destroyed after a branch is merged.

For example, this PR from February, still has a live storybook instance deployed and running: https://spark-f4gjlgow5-spark-team.vercel.app/?path=/docs/build-build--docs

This is not very eco-friendly ^^

Powerplex avatar Aug 31 '23 12:08 Powerplex

https://vercel.com/docs/limits/fair-use-guidelines

andresin87 avatar Dec 01 '23 12:12 andresin87

@andresin87 , I'm not sure where you set the three-month threshold. You mentioned this morning that any dynamic environment older than three months should be deleted, but this doesn't seem to be the case 😅 . See this example ➡️ https://github.com/adevinta/spark/pull/1033 (july 2023, ~6 month ago)

acd02 avatar Jan 23 '24 13:01 acd02

Omg. Ill check. Thats 3m github deployment environments but this is in vercel so i need to review that part

andresin87 avatar Jan 23 '24 13:01 andresin87