소스 검색

exclude cache dir with tar

Yuki Takei 1 년 전
부모
커밋
8d3b8b3445
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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 \