deploy.yml updated
Deploy Canina / deploy (push) Failing after 13s

This commit is contained in:
parsa aghaei committed 2026-08-09 22:10:14 +03:30
1 parent 9b2adc578e
commit 67078cdc63
1 file changed
+14 -8
+14 -8
View File
@@ -10,18 +10,24 @@ jobs:
deploy:
runs-on: canina
steps:
- name: Clone repository from domain or IP
- name: Clone repository and find deploy.sh
run: |
cd /
rm -rf canina
# امتحان با دامنه اصلی
git clone https://git.parsaaghayi.ir/parsa/canina.git || \
# اگر دامنه حل نشد، با آی‌پی و نادیده گرفتن SSL
git -c http.sslVerify=false clone https://87.248.133.138/parsa/canina.git
git clone https://git.parsaaghayi.ir/parsa/canina.git
cd canina
chmod +x deploy.sh
echo "=== لیست فایل‌های موجود در پوشه canina ==="
ls -la
# اگر فایل deploy.sh پیدا نشد، نامش را با ls ببینیم
if [ -f "deploy.sh" ]; then
chmod +x deploy.sh
else
echo "⚠️ فایل deploy.sh پیدا نشد. شاید نامش Deploy.sh یا deploy.sh است؟"
ls -la | grep -i deploy
exit 1
fi
- name: Run Deployment Script
env: