fix(deploy): remove redundant line for building new Docker image in deployment script

This commit is contained in:
2025-11-26 09:25:34 +01:00
parent fcef934e60
commit 58403fd32e

View File

@@ -35,14 +35,14 @@ jobs:
ssh -p ${{ secrets.VPS_PORT }} ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }} "
cd /home/${{ secrets.VPS_USER }}/protojx/protojx-manager &&
git pull &&
# Build new image
docker buildx build -t protojx_manager . &&
# Stop and remove old container if exists
docker stop protojx_manager 2>/dev/null || true &&
docker rm protojx_manager 2>/dev/null || true &&
# Build new image
docker buildx build -t protojx_manager . &&
# Run new container
docker run -d \
--name protojx_manager \