Добавлено условие для проверки установки cifs-utils и rsync перед их установкой
Deploy to IIS / deploy (push) Successful in 2m58s
Tests / test (push) Successful in 20m7s

This commit is contained in:
2026-07-28 10:27:57 +05:00
parent 598ac2c61f
commit 43b4e3474c
+6 -1
View File
@@ -32,7 +32,12 @@ jobs:
run: dotnet publish backend/src/Tnsu.ApprovalRoute.Api/Tnsu.ApprovalRoute.Api.csproj -c Release -o "$LOCAL_PUBLISH"
- name: Install cifs-utils
run: sudo apt-get update && sudo apt-get install -y cifs-utils rsync
run: |
if command -v mount.cifs >/dev/null 2>&1 && command -v rsync >/dev/null 2>&1; then
echo "cifs-utils and rsync already installed, skipping apt-get"
else
sudo apt-get update && sudo apt-get install -y cifs-utils rsync
fi
- name: Mount IIS share
env: