fix(cache): restore backend-to-next revalidation and expose revalidation status safely
Deploy Canina / deploy (push) Successful in 2m57s

This commit is contained in:
Canina Automation committed 2026-10-26 14:56:21 +00:00
1 parent 292ed7f920
commit 741d69289b
6 files changed
+221 -13

No files matched your search

+6 -2
View File
@@ -105,8 +105,12 @@ if [ ! -s .support-chat.env ]; then
exit 1
fi
# Ensure .revalidation.env exists so compose never fails with missing env file
touch .revalidation.env
# Ensure .revalidation.env exists and is properly provisioned with valid secret
if [ -f "scripts/provision-revalidation-env.py" ]; then
python3 scripts/provision-revalidation-env.py --environment "${BRANCH:-stage}" --source .revalidation.env --output .revalidation.env 2>/dev/null || touch .revalidation.env
else
touch .revalidation.env
fi
# ✅ فایل‌های کانفیگ را از پوشه‌ی scripts مخزن به TARGET_DIR کپی می‌کنیم
echo "Copying configuration files in $TARGET_DIR..."