From 9b2adc578eb520afeb9ea64cf3cd719c4d33a0ea Mon Sep 17 00:00:00 2001 From: parsa aghaei Date: Sun, 9 Aug 2026 22:09:27 +0330 Subject: [PATCH] deploy.yml updated --- .gitea/workflows/deploy.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index bb8d171..1b33961 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -10,12 +10,16 @@ jobs: deploy: runs-on: canina steps: - - name: Clone repository in root and set permission + - name: Clone repository from domain or IP run: | cd / rm -rf canina - # 👇 استفاده از SSH با آی‌پی و پورت پیش‌فرض - git clone git@87.248.133.138:parsa/canina.git + + # امتحان با دامنه اصلی + git clone https://git.parsaaghayi.ir/parsa/canina.git || \ + # اگر دامنه حل نشد، با آی‌پی و نادیده گرفتن SSL + git -c http.sslVerify=false clone https://87.248.133.138/parsa/canina.git + cd canina chmod +x deploy.sh