Aggiorna crop logo navbar e script deploy

This commit is contained in:
2026-05-23 10:30:36 +02:00
parent f5d0b65dfa
commit 3545d988ce
5 changed files with 25 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 104 KiB

View File

@@ -3,6 +3,7 @@ setlocal
set "DEPLOY_ROOT=C:\deploy\clinica_veterinaria_formiginese" set "DEPLOY_ROOT=C:\deploy\clinica_veterinaria_formiginese"
set "APP_DIR=%DEPLOY_ROOT%\clinica-app" set "APP_DIR=%DEPLOY_ROOT%\clinica-app"
set "DEPLOY_BRANCH="
echo === Deploy demo Clinica Veterinaria Formiginese === echo === Deploy demo Clinica Veterinaria Formiginese ===
echo. echo.
@@ -19,13 +20,34 @@ if not exist "%APP_DIR%\" (
echo [1/3] Aggiornamento repository di deploy... echo [1/3] Aggiornamento repository di deploy...
pushd "%DEPLOY_ROOT%" || exit /b 1 pushd "%DEPLOY_ROOT%" || exit /b 1
git pull
if errorlevel 1 ( for /f "delims=" %%i in ('git branch --show-current') do set "DEPLOY_BRANCH=%%i"
if "%DEPLOY_BRANCH%"=="" (
echo. echo.
echo ERRORE: git pull non riuscito. echo ERRORE: impossibile determinare il branch corrente nella copia di deploy.
popd popd
exit /b 1 exit /b 1
) )
echo Branch deploy attivo: %DEPLOY_BRANCH%
git fetch origin
if errorlevel 1 (
echo.
echo ERRORE: git fetch non riuscito.
popd
exit /b 1
)
git reset --hard origin/%DEPLOY_BRANCH%
if errorlevel 1 (
echo.
echo ERRORE: git reset del branch di deploy non riuscito.
popd
exit /b 1
)
popd popd
echo. echo.