web/website/ops/forgejo/CI-CLEANUP.md

765 B

The Forgejo administrator navigation trash icon opens the repository's manual clean-ci-artifacts.yml action. It does not delete anything on navigation. Click Run workflow, leave Preview enabled to inspect candidates, or untick it to apply the limited cleanup. Only website artifacts older than seven days are eligible; the newest six, current production, main-head and active builds stay.

Install extra_links.tmpl as Forgejo's custom/templates/custom/extra_links.tmpl and restart the dunegit service to load the administrator-only link. Preserve any existing custom extra links rather than replacing them.

Cleanup is separate from normal website builds. One-day upload artifact expiry and the daily maintenance automation remain configured independently.