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