This commit is contained in:
2026-01-26 01:18:18 +01:00
parent 877fc676e6
commit 921368966f

View File

@@ -217,6 +217,10 @@ deploy:staging:
# Aktualisierte versions.php in den Config-Deploy-Ordner legen
echo " Aktuelle versions.php in .ci_config_deploy/ übernehmen"
cp "${VERSION_WORK_FILE}" .ci_config_deploy/versions.php
if [ -f "${CONFIG_BASE_DIR}/current.ver" ]; then
echo " current.ver in .ci_config_deploy/ übernehmen"
cp "${CONFIG_BASE_DIR}/current.ver" .ci_config_deploy/current.ver
fi
echo "🔁 Sync .ci_config_deploy/ → ${TARGET_PATH}${CONFIG_BASE_DIR}/"
lftp -u "${FTP_USER}","${FTP_PASSWORD}" "${FTP_HOST}" -e "
@@ -445,6 +449,10 @@ deploy:production:
# Aktualisierte versions.php in den Config-Deploy-Ordner legen
echo " Aktuelle versions.php in .ci_config_deploy/ übernehmen"
cp "${VERSION_WORK_FILE}" .ci_config_deploy/versions.php
if [ -f "${CONFIG_BASE_DIR}/current.ver" ]; then
echo " current.ver in .ci_config_deploy/ übernehmen"
cp "${CONFIG_BASE_DIR}/current.ver" .ci_config_deploy/current.ver
fi
echo "🔁 Sync .ci_config_deploy/ → ${TARGET_PATH}${CONFIG_BASE_DIR}/"
lftp -u "${FTP_USER}","${FTP_PASSWORD}" "${FTP_HOST}" -e "