fix(ci): route production code-only release through safe locked deployment without migrations
Deploy Canina / deploy (push) Failing after 10s

This commit is contained in:
Canina Automation committed 2026-10-26 20:17:27 +00:00
1 parent 9ae839138c
commit 53fccc2d3c
5 files changed
+355 -198

No files matched your search

+2 -2
View File
@@ -15,7 +15,6 @@ jobs:
BRANCH: ${{ github.ref_name }}
DEPLOY_SHA: ${{ github.sha }}
GITHUB_ACTIONS: 'true'
SUPPORT_CHAT_KEY: ${{ secrets.SUPPORT_CHAT_KEY }}
run: |
# 1. رفع مشکل DNS و غیرفعال کردن پروکسی برای دامنه محلی
echo "87.248.133.138 git.parsaaghayi.ir" >> /etc/hosts
@@ -30,6 +29,7 @@ jobs:
wget --no-proxy -qO scripts/deploy.sh https://git.parsaaghayi.ir/parsa/canina/raw/commit/${DEPLOY_SHA}/scripts/deploy.sh
wget --no-proxy -qO scripts/release-cache-stage.sh https://git.parsaaghayi.ir/parsa/canina/raw/commit/${DEPLOY_SHA}/scripts/release-cache-stage.sh
wget --no-proxy -qO scripts/release-cache-prod.sh https://git.parsaaghayi.ir/parsa/canina/raw/commit/${DEPLOY_SHA}/scripts/release-cache-prod.sh
chmod +x scripts/deploy.sh
cd scripts
./deploy.sh ${BRANCH}
./deploy.sh "${BRANCH}"