File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4141 cd /home/skuilder
4242
4343 # Execute the deployment script
44- ./deploy-express-minimal-downtime.sh
44+ echo "${{ secrets.SUDO_PASSWORD }}" | sudo -S ./deploy-express-minimal-downtime.sh
4545
4646 echo "=== Deployment completed at $(date) ==="
4747 EOF
@@ -67,12 +67,12 @@ jobs:
6767
6868 if echo "$response" | grep -q "${{ github.SHA }}"; then
6969 echo "Success. Current version found in production"
70-
70+
7171 # Log deployment success
7272 echo "✅ Express API deployed successfully with version ${{ github.SHA }}"
7373 echo "✅ Deployment triggered by: ${{ github.event.inputs.reason || 'Push to master' }}"
7474 echo "✅ Deployment timestamp: $(date -u)"
75-
75+
7676 exit 0
7777 else
7878 echo "Current version not found in production. Retrying..."
You can’t perform that action at this time.
0 commit comments