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
lafonsecallorca committed Oct 20, 2024
1 parent 50233f4 commit e4b1fa6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main_edually-pilot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write #This is required for requesting the JWT
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: Download artifact from build job
Expand All @@ -61,18 +61,18 @@ jobs:
- name: Unzip artifact for deployment
run: unzip release.zip


- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.__clientidsecretname__ }}
tenant-id: ${{ secrets.__tenantidsecretname__ }}
subscription-id: ${{ secrets.__subscriptionidsecretname__ }}

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_0A08F493C53E40EEAE82243E543CC0D0 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_6156B9CDC10D409AA7CFCA4EB15A2026 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_643C3A5D8D46415ABAE3FE14D817B82E }}

- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v3
id: deploy-to-webapp
with:
app-name: 'edually-pilot'
slot-name: 'Production'


0 comments on commit e4b1fa6

Please sign in to comment.