From 23c206fbe62e8079694d8d1b0c8ff740893d04f4 Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Wed, 1 Jan 2025 19:26:06 +0500 Subject: [PATCH] feat: add cleanup job to actions --- .github/workflows/pregenPreview.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pregenPreview.yaml b/.github/workflows/pregenPreview.yaml index 8060b11..d2e86d2 100644 --- a/.github/workflows/pregenPreview.yaml +++ b/.github/workflows/pregenPreview.yaml @@ -41,6 +41,8 @@ jobs: run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" - name: Build website run: npm run build + - name: cleanup + run: rm -rf src && rm -rf node_modules && rm -f tailwind.config.js - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: