Skip to content

Commit

Permalink
Add or update the Azure App Service build and deployment workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
laiiith committed Mar 14, 2024
1 parent fd61e16 commit 3a9f60c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/master_azurelibrary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,18 @@ jobs:
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v3
with:
name: .net-app

- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_129E5BB61C9042FCAFBBBEAFE430B7BB }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_B61A51EA61F148FA9462130834DCFBBE }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_6E20A420B8304B57AE2D46A5EE874E19 }}

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
with:
app-name: 'AzureLibrary'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_B17AEE74445D4142A3F8C70841CD6ADC }}
package: .

0 comments on commit 3a9f60c

Please sign in to comment.