We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2ed4bd commit 26b9d99Copy full SHA for 26b9d99
1 file changed
scripts/deploy.sh
@@ -25,6 +25,10 @@ echo "📦 Extracting deployment package..."
25
# Extract the deployment package
26
tar -xzf /tmp/deployment.tar.gz -C $NEW_RELEASE_DIR
27
28
+# Ensure src directory exists
29
+mkdir -p $NEW_RELEASE_DIR/src
30
+cp -r $NEW_RELEASE_DIR/../src $NEW_RELEASE_DIR/
31
+
32
echo "📋 Installing dependencies..."
33
# Install only production dependencies
34
cd $NEW_RELEASE_DIR
@@ -118,4 +122,4 @@ ls -dt $RELEASES_DIR/* | tail -n +6 | xargs -r rm -rf
118
122
119
123
echo "🎉 Deployment completed successfully!"
120
124
echo "📊 Application status:"
121
-pm2 status
125
+pm2 status
0 commit comments