Updated deploy script #104

Merged
romanskijdev merged 1 commits from fix-permissions into main 2026-08-05 14:04:08 +03:00
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