Skip to content

Commit

Permalink
ensure optimizations are used for public deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ading2210 committed Jan 13, 2025
1 parent 99dc12e commit 3ada922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ada922

Please sign in to comment.