Added config injecting to deploy action
Deploy / deploy (push) Waiting to run Details

This commit is contained in:
romanskijdev 2026-05-05 10:19:44 +03:00
parent 7b954f8da7
commit ac363f5c52
2 changed files with 9 additions and 6 deletions

View File

@ -20,12 +20,15 @@ jobs:
git reset --hard origin/develop
else
echo "📦 Cloning repo..."
mkdir -p /workspace
git clone -b develop "$REPO_URL" "$REPO_DIR"
fi
echo "✅ Checkout done"
ls "$REPO_DIR"
- name: Inject config
run: |
cp /etc/ruspet/config.yml /workspace/ruspet_portal_back/core/config/config.yml
echo "✅ Config injected"
- name: Test run
run: echo "✅ Runner works! Nice"
- name: Build & Deploy
run: |
cd /workspace/ruspet_portal_back
bash deploy.sh

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
.DS_STORE
.idea
.idea