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 \
|
--self-contained false \
|
||||||
--output ../../build/webapi
|
--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
|
- name: Clean up sensitive files
|
||||||
working-directory: build/webapi
|
working-directory: build/webapi
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
Description=DiunaBI Morska WebAPI
|
Description=DiunaBI Morska WebAPI
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/home/mz/services/DiunaBI-Morska-WebAPI/
|
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
|
SyslogIdentifier=DiunaBI Morska WebAPI
|
||||||
User=mz
|
User=mz
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user