diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9507b0..190f273 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,6 +66,15 @@ jobs: --self-contained false \ --output ../../build/webapi + - name: Build and copy plugins + working-directory: src/Backend + run: | + dotnet build DiunaBI.Plugins.Morska/DiunaBI.Plugins.Morska.csproj --configuration Release + mkdir -p ../../build/webapi/Plugins + cp DiunaBI.Plugins.Morska/bin/Release/net8.0/DiunaBI.Plugins.Morska.dll ../../build/webapi/Plugins/ + echo "✅ Plugins copied:" + ls -la ../../build/webapi/Plugins/ + - name: Clean up sensitive files working-directory: build/webapi run: | diff --git a/deploy/morska.service b/deploy/morska.service index 2451a12..6630095 100644 --- a/deploy/morska.service +++ b/deploy/morska.service @@ -2,7 +2,7 @@ Description=DiunaBI Morska WebAPI [Service] WorkingDirectory=/home/mz/services/DiunaBI-Morska-WebAPI/ -ExecStart=/usr/bin/dotnet /home/mz/services/DiunaBI-Morska-WebAPI/DiunaBI-WebAPI.dll +ExecStart=/usr/bin/dotnet /home/mz/services/DiunaBI-Morska-WebAPI/DiunaBI.WebAPI.dll SyslogIdentifier=DiunaBI Morska WebAPI User=mz [Install]