hyphacoop / api.distributed.press

https://distributed.press
GNU Affero General Public License v3.0
77 stars 8 forks source link

Fail when the tarball is empty #78

Open fauno opened 5 months ago

fauno commented 5 months ago

If you run the GH Action as a separate step from the site build/deploy, it won't have access to files because there was no checkout step, but DP will accept the empty tarball and remove the site from existence.

It'd be great if it'd return an error instead, so the CI fails, the site isn't broken and you get a notification :D