-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.sh
More file actions
30 lines (24 loc) Β· 837 Bytes
/
deploy.sh
File metadata and controls
30 lines (24 loc) Β· 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# Cloud Tech Website Deployment Script
echo "π Starting Cloud Tech Website Deployment..."
# Install dependencies
echo "π¦ Installing dependencies..."
npm install
# Build the project
echo "π¨ Building the project..."
npm run build
# Export static files
echo "π€ Exporting static files..."
npm run export
echo "β
Build complete! Files are ready in the 'out' directory."
echo ""
echo "π Next steps:"
echo "1. Upload the contents of the 'out' directory to your web server"
echo "2. Configure your web server to serve the files"
echo "3. Set up any necessary redirects"
echo ""
echo "π For GitHub Pages deployment:"
echo "1. Push the 'out' directory contents to your gh-pages branch"
echo "2. Enable GitHub Pages in your repository settings"
echo ""
echo "π Your Cloud Tech website is ready to go live!"