quantumbit commited on
Commit
aa01519
·
verified ·
1 Parent(s): 9c9df8a

Delete build-frontend.sh

Browse files
Files changed (1) hide show
  1. build-frontend.sh +0 -45
build-frontend.sh DELETED
@@ -1,45 +0,0 @@
1
- # Pre-deployment Build Script
2
-
3
- echo "============================================"
4
- echo "Building Frontend for Production"
5
- echo "============================================"
6
- echo ""
7
-
8
- cd frontend
9
-
10
- echo "[1/2] Installing dependencies..."
11
- npm install
12
- if [ $? -ne 0 ]; then
13
- echo "ERROR: Failed to install dependencies"
14
- exit 1
15
- fi
16
- echo "✓ Dependencies installed"
17
- echo ""
18
-
19
- echo "[2/2] Building frontend..."
20
- npm run build
21
- if [ $? -ne 0 ]; then
22
- echo "ERROR: Build failed"
23
- exit 1
24
- fi
25
- echo "✓ Frontend built successfully"
26
- echo ""
27
-
28
- cd ..
29
-
30
- echo "============================================"
31
- echo "Build Complete!"
32
- echo "============================================"
33
- echo ""
34
- echo "Frontend built to: frontend/dist/"
35
- echo ""
36
- echo "Ready to push to Hugging Face!"
37
- echo ""
38
- echo "Next steps:"
39
- echo " 1. Commit changes: git add . && git commit -m 'Build frontend'"
40
- echo " 2. Push to GitHub: git push origin main"
41
- echo " 3. GitHub Actions will auto-deploy to HF"
42
- echo ""
43
- echo "Or push directly to HF:"
44
- echo " git push hf main"
45
- echo "============================================"