Skip to content

Commit 3ada922

Browse files
committed
ensure optimizations are used for public deployment
1 parent 99dc12e commit 3ada922

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ jobs:
1616
python3 -m venv .venv
1717
source .venv/bin/activate
1818
pip3 install -r requirements.txt
19-
CFLAGS=-O3 ./build.sh
19+
env CFLAGS=-O3 ./build.sh
2020
cp index.html out
2121
rm out/compiled.js
22+
du -sh out/*
2223
2324
- name: Publish to Cloudflare Pages
2425
uses: cloudflare/pages-action@v1

0 commit comments

Comments
 (0)