File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 with :
2424 node-version : ${{ env.NODE_VERSION }}
2525 cache : " npm"
26+ cache-dependency-path : |
27+ server/package-lock.json
28+ client/package-lock.json
2629
2730 - name : Install server dependencies
2831 run : |
4952
5053 # Deploy using git pull and rebuild
5154 ssh -i ~/.ssh/lightsail_key -o StrictHostKeyChecking=no \
52- bitnami@${{ env .LIGHTSAIL_HOST }} << 'ENDSSH'
55+ bitnami@${{ vars .LIGHTSAIL_HOST }} << 'ENDSSH'
5356
5457 set -e # Exit on any error
5558
6669 # Install server dependencies
6770 echo "📦 Installing server dependencies..."
6871 cd server
69- npm ci --production
72+ npm ci
7073
7174 # Build client
7275 echo "🏗️ Building client..."
7679
7780 # Start the service
7881 echo "▶️ Starting nodejs service..."
79- cd ~/bolt-gameserver-sample/server
8082 sudo systemctl start nodejs.service
8183
8284 # Wait and check if service is running
9092 cd ~/bolt-gameserver-sample
9193 git checkout -- .
9294 cd server
93- npm ci --production
95+ npm ci
9496 cd ../client
9597 npm ci
9698 npm run build:staging
@@ -116,8 +118,8 @@ jobs:
116118
117119 # Check multiple endpoints
118120 HEALTH_ENDPOINTS=(
119- "http://${{ env .LIGHTSAIL_HOST }}/api/health"
120- "https://${{ env .LIGHTSAIL_HOST }}/api/health"
121+ "http://${{ vars .LIGHTSAIL_HOST }}/api/health"
122+ "https://${{ vars .LIGHTSAIL_HOST }}/api/health"
121123 )
122124
123125 SUCCESS=false
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ function Home() {
1111 return (
1212 < div className = "index-page" style = { { "--home-bg" : `url(${ CastleScene } )` } } >
1313 < div className = "app-header" >
14- < h1 > ⚔️ Bolt Demo Store ⚔️</ h1 >
14+ < h1 > ⚔️ Bolt Demo Storez ⚔️</ h1 >
1515 < p > Store to showcase Bolt Charge SDK</ p >
1616 </ div >
1717
You can’t perform that action at this time.
0 commit comments