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