BACKEND-CI: fix artifact location

This commit is contained in:
2025-01-16 00:03:12 -05:00
parent 1f2a132687
commit bb21ef8a53

View File

@@ -24,13 +24,11 @@ jobs:
with: with:
dotnet-version: ${{ env.DOTNET_VERSION }} dotnet-version: ${{ env.DOTNET_VERSION }}
# Run dotnet build and publish # Run dotnet publish
- name: dotnet build and publish - name: dotnet build and publish
run: | run: |
cd backend cd backend
dotnet restore dotnet publish --configuration Release --artifacts-path ./publish/
dotnet build --configuration Release
dotnet publish --no-build --configuration Release --artifacts-path ./publish/
# Deploy to Azure WebApp # Deploy to Azure WebApp
- name: Deploy to Azure WebApp - name: Deploy to Azure WebApp
@@ -38,4 +36,5 @@ jobs:
with: with:
app-name: ${{ env.AZURE_WEBAPP_NAME }} app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: './publish/web/' A
package: './publish/publish/Web/release/'