Browse Source

exclude cache dir with tar

Yuki Takei 1 year ago
parent
commit
8d3b8b3445
1 changed files with 1 additions and 2 deletions
  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 \