Skip to content

Commit f9d63a0

Browse files
committed
fix: remowed build changes cause doesnt work
1 parent c039312 commit f9d63a0

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

build.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
#!/bin/bash
22
set -e
33

4-
# Build TinaCMS admin
5-
npx tina build
6-
7-
# Copy Tina admin to Docusaurus static folder
8-
rm -rf static/admin
9-
cp -r public/admin static/admin
10-
114
PROJECT_ROOT="$(pwd)"
125
SRC_DIR="$PROJECT_ROOT/src/decks/prebuilds"
136
OUT_DIR="$PROJECT_ROOT/static/decks"
@@ -25,9 +18,5 @@ find "$SRC_DIR" -name 'index.html' | while read -r html; do
2518
npx html-inline --nocompress --inlinemin --root "$PROJECT_ROOT" "$html" > "$out_path"
2619
done
2720

28-
echo "✅ All slide decks inlined to: $OUT_DIR"
2921

30-
echo "🛠️ Building Docusaurus site..."
31-
npm run build
32-
33-
echo "✅ Build complete. Deploy the 'build/' folder to GitHub Pages."
22+
echo "✅ All slide decks inlined to: $OUT_DIR"

0 commit comments

Comments
 (0)