diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2edba43..068239b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,7 +39,10 @@ default: # --- Sync Workspace (ohne config/) --- echo "🔁 Sync Workspace → ${TARGET_PATH} (ohne config/)" + chmod -R u+rwX,go+rX "${TARGET_PATH}" || true rsync -a --delete \ + --no-owner --no-group --no-perms --omit-dir-times \ + --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r \ --exclude=".git" \ --exclude=".ci_config_deploy" \ --exclude="config/" \ @@ -70,7 +73,11 @@ default: echo "🔁 Sync .ci_config_deploy/ → ${TARGET_PATH}${CONFIG_BASE_DIR}/" mkdir -p "${TARGET_PATH}${CONFIG_BASE_DIR}/" - rsync -a --delete --exclude=".gitkeep" ".ci_config_deploy/" "${TARGET_PATH}${CONFIG_BASE_DIR}/" + rsync -a --delete \ + --no-owner --no-group --no-perms --omit-dir-times \ + --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r \ + --exclude=".gitkeep" \ + ".ci_config_deploy/" "${TARGET_PATH}${CONFIG_BASE_DIR}/" # ========================================================= # DEBUG: Verifikation