From df31cf6fe6bd599d0f359c55c3b45ec6dca606fb Mon Sep 17 00:00:00 2001 From: Daniel Ji Date: Thu, 11 Apr 2024 19:31:40 -0700 Subject: [PATCH] add compression to offline zip file --- .github/workflows/update-data.yml | 2 +- .github/workflows/website.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-data.yml b/.github/workflows/update-data.yml index 8dd6216..86982a9 100644 --- a/.github/workflows/update-data.yml +++ b/.github/workflows/update-data.yml @@ -35,7 +35,7 @@ jobs: run: npm run build - name: Push updated ref genome data and offline mode to master run: | - zip -r viralwasm-consensus-offline.zip dist/ run_website.py + zip -9 -r viralwasm-consensus-offline.zip dist/ run_website.py git config --global user.name 'GitHub Actions' git config --global user.email 'action@github.com' git add . diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 4c17673..010b6db 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -52,7 +52,7 @@ jobs: run: npx playwright test site-tests.spec.ts - name: Push offline mode to master run: | - zip -r viralwasm-consensus-offline.zip dist/ run_website.py + zip -9 -r viralwasm-consensus-offline.zip dist/ run_website.py git config --global user.name 'GitHub Actions' git config --global user.email 'action@github.com' git add viralwasm-consensus-offline.zip