build fix
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -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: |
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user