690326:2306 Fixing Refactor ADR-019 Naming convention uuid #10
This commit is contained in:
@@ -113,9 +113,8 @@ jobs:
|
||||
|
||||
mkdir -p /share/np-dms/app/logs
|
||||
|
||||
# Clear Docker build cache to ensure fresh builds
|
||||
echo "🧹 Clearing Docker build cache..."
|
||||
docker builder prune -f || true
|
||||
# Note: Docker build cache is preserved for faster builds
|
||||
# Only prune cache manually when needed: docker builder prune -f
|
||||
|
||||
echo "🚀 Executing deployment..."
|
||||
./scripts/deploy.sh
|
||||
@@ -132,8 +131,10 @@ jobs:
|
||||
echo "🚀 Deployment attempt $attempt/$max_attempts..."
|
||||
|
||||
if echo "$REMOTE_SCRIPT" | sshpass -p "${{ secrets.PASSWORD }}" ssh -o StrictHostKeyChecking=no \
|
||||
-o ConnectTimeout=30 \
|
||||
-o ServerAliveInterval=60 \
|
||||
-o ConnectTimeout=60 \
|
||||
-o ServerAliveInterval=30 \
|
||||
-o ServerAliveCountMax=60 \
|
||||
-o TCPKeepAlive=yes \
|
||||
-p ${{ secrets.PORT }} ${{ secrets.USERNAME }}@${{ secrets.HOST }} 'bash -s'; then
|
||||
echo "✅ Deployment successful!"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user