CI: build pipeline testet nun immer automatisch vor dem build alle Test. Ausserdem gibts einen deploy-pfad

This commit is contained in:
Rob committed 2026-10-07 20:44:51 +02:00
1 parent 971459c9bf
commit 2aad2c9d99
12 files changed
+543 -27

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
@echo off
chcp 65001 >nul
setlocal
set "PYTHONUTF8=1"
cd /d "%~dp0.."
if exist "0_application\.venv\Scripts\python.exe" (
set "DEPLOY_PYTHON=0_application\.venv\Scripts\python.exe"
) else if exist ".venv\Scripts\python.exe" (
set "DEPLOY_PYTHON=.venv\Scripts\python.exe"
) else (
set "DEPLOY_PYTHON=python"
)
"%DEPLOY_PYTHON%" "1_build-pipeline\deploy.py"
set "DEPLOY_EXIT_CODE=%ERRORLEVEL%"
if /I not "%~1"=="--no-pause" pause
exit /b %DEPLOY_EXIT_CODE%