Github Actions Artifact Deletion

Hey there,

any plans on adding something like an option to delete the artifacts generated by the github actions deployment after the building has finished?

Maybe to implement this step with a click of a button:

Would be awesome as the quota of 500mb of free artifact storage makes it quite hard to use github actions and without manually adding this part to the actions script every time i deploy an app.

Let me know what you think!

Thank you!

Sebastian

Hello Sebastian,

Thank you for your suggestion. I will take this to the team discussion and will let you know about it.

Coincidently, I had the same exact issue yesterday.

It looks like the team is already exploring the programatic way.

There is a non-programatic way to lessen the impact, that looks like is mentioned in the linked repo. Which is the default for artifact removal is 90 days, which is pretty high.

I set mine to 5 days in the repo > settings > actions.

I also read in some forums that even after you manually remove older runs / artifacts, that it takes an hour or two before GitHub resets the limit to the new amount. This is definitely still true - after an hour I was able to deploy via GHA.

Hope this helps!

1 Like

Thank you! Excited for the programmatic way!

Wait no longer, it is now available! :wink:

The artifact will be removed at the end of the deployment.

Thanks for bringing up the issue and helping us make Cleavr better! :raised_hands:

4 Likes