mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2026-01-03 11:32:57 +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
|
# Create a clean deployment directory
|
||||||
mkdir -p gh-pages-demo
|
mkdir -p gh-pages-demo
|
||||||
|
|
||||||
# Copy the built demo files
|
# Copy the built WASM files and HTML
|
||||||
cp -r examples/comprehensive-demo/* gh-pages-demo/
|
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
|
# Create a simple index.html redirect to the demo
|
||||||
cat > gh-pages-demo/index.html << 'EOF'
|
cat > gh-pages-demo/index.html << 'EOF'
|
||||||
|
|||||||
Reference in New Issue
Block a user