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