fix ci-cd deploy
All checks were successful
Deploy triz-docs to civital server / build-and-deploy (push) Successful in 1h8m28s
All checks were successful
Deploy triz-docs to civital server / build-and-deploy (push) Successful in 1h8m28s
This commit is contained in:
parent
e2cc3f2de6
commit
8743c226d3
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user