Skip to content

Commit 1bc6b71

Browse files
committed
Quartz sync: Jun 2, 2025, 10:23 PM
1 parent 1909cbf commit 1bc6b71

File tree

3 files changed

+7358
-1475
lines changed

3 files changed

+7358
-1475
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ jobs:
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"

0 commit comments

Comments
 (0)