1 parent
10383c96fd
commit
306c80e362
1 file changed
+6
-7
@@ -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}
|
||||
Reference in new issue
Block a user