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

This commit is contained in:
parsa aghaei committed 2026-08-09 22:12:57 +03:30
1 parent 10383c96fd
commit 306c80e362
1 file changed
+6 -7
+6 -7
View File
@@ -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 }}
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}