From 9670c14bcea024cff915dc9ecf0a6599fcbeef58 Mon Sep 17 00:00:00 2001 From: Peter Hanssens Date: Tue, 23 Sep 2025 21:39:03 +1000 Subject: [PATCH] fix: Correct GitHub Pages deployment to copy built WASM files - Fix deployment package creation to copy built WASM files instead of source files - Copy index.html and pkg/ directory with compiled WASM output - This should enable proper GitHub Pages deployment of the demo --- .github/workflows/demo-deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/demo-deploy.yml b/.github/workflows/demo-deploy.yml index 34afcc4..acc77c1 100644 --- a/.github/workflows/demo-deploy.yml +++ b/.github/workflows/demo-deploy.yml @@ -132,8 +132,9 @@ jobs: # Create a clean deployment directory mkdir -p gh-pages-demo - # Copy the built demo files - cp -r examples/comprehensive-demo/* gh-pages-demo/ + # Copy the built WASM files and HTML + cp examples/comprehensive-demo/index.html gh-pages-demo/ + cp -r examples/comprehensive-demo/pkg gh-pages-demo/ # Create a simple index.html redirect to the demo cat > gh-pages-demo/index.html << 'EOF'