File tree Expand file tree Collapse file tree 3 files changed +7358
-1475
lines changed
Expand file tree Collapse file tree 3 files changed +7358
-1475
lines changed Original file line number Diff line number Diff line change 3535 run : npm i -g @antfu/ni
3636
3737 - name : Install Dependencies
38- run : |
39- npm ci
40- npm install -D slidev/cli
38+ run : npm ci
4139
4240 # - name: Fetch Quartz Theme
4341 # run: curl -s -S https://raw.githubusercontent.com/saberzero1/quartz-themes/master/action.sh | bash -s -- $THEME_NAME
@@ -53,14 +51,13 @@ jobs:
5351 - name : Build all Slidev .md files
5452 run : |
5553 mkdir -p public/slidev
56- find slides -type f -name "*.md" | while read file; do
57- relpath="${file#slides /}" # e.g. topic1/sub/slide.md
54+ find content -type f -name "*.md" | while read file; do
55+ relpath="${file#content /}" # e.g. topic1/sub/slide.md
5856 name="${relpath%.md}" # e.g. topic1/sub/slide
5957 outdir="dist/$name" # e.g. dist/topic1/sub/slide
6058 targetdir="public/slidev/$name" # e.g. public/slidev/topic1/sub/slide
6159
6260 echo "📦 Building $file → $targetdir"
63-
6461 npx slidev build "$file" --out "$outdir"
6562
6663 mkdir -p "$targetdir"
You can’t perform that action at this time.
0 commit comments