fix(ci): fetch branch-specific deploy script and fix config copy paths in deploy.sh
Deploy Canina / deploy (push) Failing after 0s
Deploy Canina / deploy (push) Failing after 0s
This commit is contained in:
1 parent
5ec99155c4
commit
59babf855c
2 files changed
+11
-13
No files matched your search
@@ -17,10 +17,9 @@ jobs:
|
||||
# 1. رفع مشکل DNS
|
||||
echo "87.248.133.138 git.parsaaghayi.ir" >> /etc/hosts
|
||||
|
||||
# 2. دانلود و اجرای اسکریپت deploy.sh از داخل پوشهی scripts
|
||||
# 2. دانلود و اجرای اسکریپت deploy.sh بر اساس برنچ جاری
|
||||
mkdir -p scripts
|
||||
wget -qO scripts/deploy.sh https://git.parsaaghayi.ir/parsa/canina/raw/branch/main/scripts/deploy.sh || \
|
||||
wget -qO scripts/deploy.sh https://git.parsaaghayi.ir/parsa/canina/raw/branch/develop/scripts/deploy.sh
|
||||
wget -qO scripts/deploy.sh https://git.parsaaghayi.ir/parsa/canina/raw/branch/${BRANCH}/scripts/deploy.sh
|
||||
|
||||
chmod +x scripts/deploy.sh
|
||||
cd scripts
|
||||
|
||||
Reference in new issue
Block a user