Updated deploy script

This commit is contained in:
romanskijdev 2026-08-05 14:03:52 +03:00
parent dcf4552401
commit 0dda29a4d2
1 changed files with 3 additions and 0 deletions

View File

@ -284,6 +284,9 @@ jobs:
echo "🔧 Deploying admin service..."
if sudo /usr/bin/bash "$REPO_DIR/deploy.sh" admin swagger; then
echo "✅ Admin service deployed with Swagger"
sudo chown -R $(whoami):$(whoami) "$REPO_DIR/service/rest_admin_service/docs"
echo "ADMIN_DEPLOYED=true" >> $GITHUB_ENV
sleep 3
if sudo /usr/bin/systemctl is-active --quiet "$ADMIN_SERVICE"; then