Kaynağa Gözat

exclude cache dir with tar

Yuki Takei 1 yıl önce
ebeveyn
işleme
8d3b8b3445
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  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 \