diff --git a/.github/workflows/backend-ci.yml b/.github/workflows/backend-ci.yml index 47efe2a..0c7902d 100644 --- a/.github/workflows/backend-ci.yml +++ b/.github/workflows/backend-ci.yml @@ -24,13 +24,11 @@ jobs: with: dotnet-version: ${{ env.DOTNET_VERSION }} - # Run dotnet build and publish + # Run dotnet publish - name: dotnet build and publish run: | cd backend - dotnet restore - dotnet build --configuration Release - dotnet publish --no-build --configuration Release --artifacts-path ./publish/ + dotnet publish --configuration Release --artifacts-path ./publish/ # Deploy to Azure WebApp - name: Deploy to Azure WebApp @@ -38,4 +36,5 @@ jobs: with: app-name: ${{ env.AZURE_WEBAPP_NAME }} publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} - package: './publish/web/' + A + package: './publish/publish/Web/release/'