mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2025-12-22 22:00:00 +00:00
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
This commit is contained in:
5
.github/workflows/demo-deploy.yml
vendored
5
.github/workflows/demo-deploy.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user