Skip to content

Commit 6b81fc6

Browse files
super3claude
andcommitted
Add demo.html to GitHub Pages deployment
- Copy demo.html to _site directory during build - Add demo.html to workflow path triggers - Ensures demo is accessible at mdtail.dev/demo.html 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8cd9a0f commit 6b81fc6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/website.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- 'README.md'
88
- '.github/workflows/website.yml'
99
- 'docs/**'
10+
- 'demo.html'
1011
workflow_dispatch:
1112

1213
permissions:
@@ -31,6 +32,10 @@ jobs:
3132
- name: Create website from README
3233
run: |
3334
mkdir -p _site
35+
# Copy demo.html if it exists
36+
if [ -f demo.html ]; then
37+
cp demo.html _site/
38+
fi
3439
cat > _site/index.html << 'EOF'
3540
<!DOCTYPE html>
3641
<html lang="en">

0 commit comments

Comments
 (0)