diff --git a/.github/workflows/upload-paywall.yml b/.github/workflows/upload-paywall.yml index 06f6384d..aef31ab5 100644 --- a/.github/workflows/upload-paywall.yml +++ b/.github/workflows/upload-paywall.yml @@ -30,6 +30,9 @@ jobs: run: pnpm build:paywall:ci env: DOTENV_KEY: ${{ secrets.DOTENV_KEY }} + - name: Compress + run: | + find apps/paywall/dist -type f \( -name '*.js' -o -name '*.css' \) -exec gzip -9 {} \; -exec mv {}.gz {} \; - name: Archive staging artifacts uses: actions/upload-artifact@v3 with: @@ -58,6 +61,10 @@ jobs: run: pnpm build:paywall:ci env: DOTENV_KEY: ${{ secrets.DOTENV_KEY }} + - name: Compress + run: | + find apps/paywall/dist -type f \( -name '*.js' -o -name '*.css' \) -exec gzip -9 {} \; -exec mv {}.gz {} \; + - name: Archive prod artifacts uses: actions/upload-artifact@v3 with: