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

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