asdasd
This commit is contained in:
@@ -6,6 +6,7 @@ variables:
|
||||
BASE_DIRS: "api data debug modules partials public src tools"
|
||||
CONFIG_BASE_DIR: "config"
|
||||
LOCAL_ROOT: "/mnt/nexusserver"
|
||||
RSYNC_OPTS: "--delete --inplace --no-whole-file --no-owner --no-group --no-perms --omit-dir-times --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r"
|
||||
# SITE_DOMAIN_DIR wurde entfernt
|
||||
|
||||
default:
|
||||
@@ -40,9 +41,8 @@ default:
|
||||
# --- Sync Workspace (ohne config/) ---
|
||||
echo "🔁 Sync Workspace → ${TARGET_PATH} (ohne config/)"
|
||||
chmod -R u+rwX,go+rX "${TARGET_PATH}" || true
|
||||
rsync -a --delete --inplace \
|
||||
--no-owner --no-group --no-perms --omit-dir-times \
|
||||
--chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r \
|
||||
echo "RSYNC_OPTS: ${RSYNC_OPTS}"
|
||||
rsync -a ${RSYNC_OPTS} \
|
||||
--exclude=".git" \
|
||||
--exclude=".ci_config_deploy" \
|
||||
--exclude="config/" \
|
||||
@@ -73,9 +73,7 @@ default:
|
||||
|
||||
echo "🔁 Sync .ci_config_deploy/ → ${TARGET_PATH}${CONFIG_BASE_DIR}/"
|
||||
mkdir -p "${TARGET_PATH}${CONFIG_BASE_DIR}/"
|
||||
rsync -a --delete --inplace \
|
||||
--no-owner --no-group --no-perms --omit-dir-times \
|
||||
--chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r \
|
||||
rsync -a ${RSYNC_OPTS} \
|
||||
--exclude=".gitkeep" \
|
||||
".ci_config_deploy/" "${TARGET_PATH}${CONFIG_BASE_DIR}/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user