fix ci-cd deploy
All checks were successful
Deploy triz-docs to civital server / build-and-deploy (push) Successful in 1h8m28s

This commit is contained in:
Othmane Ataallah 2026-04-28 13:30:40 +01:00
parent e2cc3f2de6
commit 8743c226d3

View File

@ -79,8 +79,11 @@ jobs:
if not exist "%DEPLOY_DIR%" mkdir "%DEPLOY_DIR%"
robocopy "%WORKSPACE_DIR%\build" "%DEPLOY_DIR%" /E /PURGE /NFL /NDL /NJH /NJS
set RC=%ERRORLEVEL%
if %ERRORLEVEL% gtr 7 exit /b %ERRORLEVEL%
echo Robocopy exit code: %RC%
if %RC% GEQ 8 exit /b %RC%
# --------------------------------------------------
# 6. Cleanup