This commit is contained in:
@@ -90,6 +90,7 @@ deploy:staging:
|
||||
cp "$f" .ci_config_deploy/
|
||||
fi
|
||||
done
|
||||
[ -f "${CONFIG_BASE_DIR}/.htaccess" ] && cp "${CONFIG_BASE_DIR}/.htaccess" .ci_config_deploy/
|
||||
fi
|
||||
|
||||
if [ -d "${CONFIG_ENV_DIR}" ]; then
|
||||
@@ -104,7 +105,7 @@ deploy:staging:
|
||||
set ftp:ssl-protect-data true;
|
||||
set ssl:verify-certificate no;
|
||||
lcd .ci_config_deploy;
|
||||
mirror -R --delete --exclude .gitkeep ./ ${TARGET_PATH}${CONFIG_BASE_DIR}/;
|
||||
mirror -R --delete --exclude secrets.local.php --exclude .gitkeep ./ ${TARGET_PATH}${CONFIG_BASE_DIR}/;
|
||||
bye
|
||||
" || { echo "❌ Upload für gemischtes Config-Verzeichnis fehlgeschlagen."; exit 1; }
|
||||
|
||||
@@ -197,6 +198,7 @@ deploy:production:
|
||||
cp "$f" .ci_config_deploy/
|
||||
fi
|
||||
done
|
||||
[ -f "${CONFIG_BASE_DIR}/.htaccess" ] && cp "${CONFIG_BASE_DIR}/.htaccess" .ci_config_deploy/
|
||||
fi
|
||||
|
||||
if [ -d "${CONFIG_ENV_DIR}" ]; then
|
||||
@@ -211,7 +213,7 @@ deploy:production:
|
||||
set ftp:ssl-protect-data true;
|
||||
set ssl:verify-certificate no;
|
||||
lcd .ci_config_deploy;
|
||||
mirror -R --delete --exclude .gitkeep ./ ${TARGET_PATH}${CONFIG_BASE_DIR}/;
|
||||
mirror -R --delete --exclude secrets.local.php --exclude .gitkeep ./ ${TARGET_PATH}${CONFIG_BASE_DIR}/;
|
||||
bye
|
||||
" || { echo "❌ Upload für gemischtes Config-Verzeichnis fehlgeschlagen."; exit 1; }
|
||||
|
||||
@@ -224,4 +226,3 @@ deploy:production:
|
||||
only:
|
||||
- main
|
||||
# when: manual
|
||||
|
||||
|
||||
Reference in New Issue
Block a user