deploy
Some checks failed
Build & Deploy KLZ Cables / build-and-deploy (push) Has been cancelled

This commit is contained in:
2026-01-26 17:37:25 +01:00
parent cb207d6a01
commit da04c108ef

View File

@@ -162,12 +162,8 @@ jobs:
cd /home/deploy/sites/klz-cables.com && \ cd /home/deploy/sites/klz-cables.com && \
echo '✅ Current directory:' && pwd && \ echo '✅ Current directory:' && pwd && \
echo '' && \ echo '' && \
echo '📥 Pulling latest images...' && \ echo '🔄 Starting containers with pull and force-recreate...' && \
docker compose pull && \ docker compose up -d --pull always --force-recreate --remove-orphans && \
echo '✅ Image pull completed' && \
echo '' && \
echo '🔄 Starting containers with force-recreate...' && \
docker compose up -d --force-recreate --remove-orphans && \
echo '✅ Containers started' && \ echo '✅ Containers started' && \
echo '' && \ echo '' && \
echo '🧹 Cleaning up old images...' && \ echo '🧹 Cleaning up old images...' && \