From 0b0a59720ce0e5d12da961ca4075808e1c6850e5 Mon Sep 17 00:00:00 2001 From: Raphael Cordon <56551789+raphaelcordon@users.noreply.github.com> Date: Mon, 30 Oct 2023 13:35:39 +0100 Subject: [PATCH] Update WebApiToAzure.yml --- .github/workflows/WebApiToAzure.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/WebApiToAzure.yml b/.github/workflows/WebApiToAzure.yml index 225444a1..18ba0480 100644 --- a/.github/workflows/WebApiToAzure.yml +++ b/.github/workflows/WebApiToAzure.yml @@ -38,9 +38,13 @@ jobs: run: dotnet publish -c Release -o ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} working-directory: ${{ env.PROJECT_PATH }} + - name: Publish + run: dotnet publish --configuration Release --output ${{ github.workspace }}/${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/kpi5 API/API.csproj + working-directory: ${{ env.PROJECT_PATH }} + - name: Deployment uses: azure/webapps-deploy@v2 with: app-name: ${{ env.AZURE_WEBAPP_NAME }} publish-profile: ${{ secrets.AZURE_PUBLISH_PROFILE }} - package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} + package: ${{ github.workspace }}/${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/kpi5