Skip to content

Commit

Permalink
Update main_mango-entertainment-api.yml
Browse files Browse the repository at this point in the history
Adjusting to reported errors
  • Loading branch information
ssmodish authored Jul 26, 2024
1 parent 9c6ff2f commit ab1c689
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main_mango-entertainment-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
AZURE_WEBAPP_NAME: mango-entertainment-api
DOTNET_VERSION: '8.0.x' # Updated to match your Azure configuration
DOTNET_VERSION: '8.0.x'
WORKING_DIRECTORY: ./base-api

jobs:
Expand Down Expand Up @@ -54,10 +54,18 @@ jobs:
with:
name: .net-app

- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_PRODUCTION }}
package: .

- name: logout
run: |
az logout

0 comments on commit ab1c689

Please sign in to comment.