From 306c80e3622e2098ec78c6d8b2fc4f7ba1908809 Mon Sep 17 00:00:00 2001 From: parsa aghaei Date: Sun, 9 Aug 2026 22:12:57 +0330 Subject: [PATCH] deploy.yml updated --- .gitea/workflows/deploy.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b9bfd8a3..bfe67d7e 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -10,12 +10,11 @@ jobs: deploy: runs-on: canina steps: - - name: Just run deploy.sh (it will clone itself) - run: | - # فایل deploy.sh را از آدرس اصلی دانلود می‌کنیم تا اجرا شود - curl -k -o deploy.sh https://87.248.133.138/parsa/canina/raw/branch/main/deploy.sh - chmod +x deploy.sh - ./deploy.sh ${BRANCH} + - name: Download and run deploy.sh env: BRANCH: ${{ github.ref_name }} - \ No newline at end of file + run: | + # دانلود فایل deploy.sh با wget (بدون نیاز به curl) + wget --no-check-certificate -O deploy.sh https://87.248.133.138/parsa/canina/raw/branch/main/deploy.sh + chmod +x deploy.sh + ./deploy.sh ${BRANCH} \ No newline at end of file