diff --git a/.github/workflows/backend-ci.yml b/.github/workflows/backend-ci.yml index 6ec422a..47efe2a 100644 --- a/.github/workflows/backend-ci.yml +++ b/.github/workflows/backend-ci.yml @@ -7,7 +7,6 @@ on: env: AZURE_WEBAPP_NAME: hutopy-backend-api - AZURE_WEBAPP_PACKAGE_PATH: '.' DOTNET_VERSION: '8.0.x' jobs: @@ -31,7 +30,7 @@ jobs: cd backend dotnet restore dotnet build --configuration Release - dotnet publish --configuration Release --output '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/backend-app' + dotnet publish --no-build --configuration Release --artifacts-path ./publish/ # Deploy to Azure WebApp - name: Deploy to Azure WebApp @@ -39,4 +38,4 @@ jobs: with: app-name: ${{ env.AZURE_WEBAPP_NAME }} publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} - package: '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/backend-app' + package: './publish/web/'