From ce0bf1801af33ae01752977f074094aada10513b Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Tue, 14 Jul 2026 22:19:31 +0800 Subject: [PATCH] temp: add clean cache workflow --- .gitea/workflows/clean-cache.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/clean-cache.yml diff --git a/.gitea/workflows/clean-cache.yml b/.gitea/workflows/clean-cache.yml new file mode 100644 index 000000000..fad5fd62d --- /dev/null +++ b/.gitea/workflows/clean-cache.yml @@ -0,0 +1,18 @@ +name: Clean NPM Cache + +on: + push: + branches: + - temp-clean-npm-cache + +jobs: + clean-cache: + runs-on: saas + steps: + - name: Remove npm cache volume + run: | + echo "Removing xiaoxia-npm-cache volume..." + docker volume rm xiaoxia-npm-cache 2>&1 || echo "Volume not found or already removed" + echo "Done. Current volumes:" + docker volume ls | grep npm || echo "No npm volumes found" +