From 3ada92259b16b5bfb6aeaa4423fd2c911e02fcfb Mon Sep 17 00:00:00 2001 From: ading2210 Date: Sun, 12 Jan 2025 18:23:22 -0800 Subject: [PATCH] ensure optimizations are used for public deployment --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 283422da4..fe2fcb87a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,9 +16,10 @@ jobs: python3 -m venv .venv source .venv/bin/activate pip3 install -r requirements.txt - CFLAGS=-O3 ./build.sh + env CFLAGS=-O3 ./build.sh cp index.html out rm out/compiled.js + du -sh out/* - name: Publish to Cloudflare Pages uses: cloudflare/pages-action@v1