Skip to content

Commit

Permalink
Update WebApiToAzure.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelcordon authored Oct 30, 2023
1 parent 63efdb3 commit 0b0a597
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/WebApiToAzure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0b0a597

Please sign in to comment.