We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c039312 commit f9d63a0Copy full SHA for f9d63a0
build.sh
@@ -1,13 +1,6 @@
1
#!/bin/bash
2
set -e
3
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
11
PROJECT_ROOT="$(pwd)"
12
SRC_DIR="$PROJECT_ROOT/src/decks/prebuilds"
13
OUT_DIR="$PROJECT_ROOT/static/decks"
@@ -25,9 +18,5 @@ find "$SRC_DIR" -name 'index.html' | while read -r html; do
25
18
npx html-inline --nocompress --inlinemin --root "$PROJECT_ROOT" "$html" > "$out_path"
26
19
done
27
20
28
-echo "✅ All slide decks inlined to: $OUT_DIR"
29
21
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