Răsfoiți Sursa

exclude cache dir with tar

Yuki Takei 1 an în urmă
părinte
comite
8d3b8b3445
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      .github/workflows/reusable-app-prod.yml

+ 1 - 2
.github/workflows/reusable-app-prod.yml

@@ -70,9 +70,8 @@ jobs:
     - name: Archive production files
       id: archive-prod-files
       run: |
-        tar -zcf production.tar.gz \
+        tar -zcf production.tar.gz --exclude ./apps/app/.next/cache \
           package.json \
-          !apps/app/.next/cache \
           apps/app/.next \
           apps/app/config \
           apps/app/dist \