Skip to content

Commit

Permalink
Update main_my-1k-ee.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NicklausBrain authored Sep 7, 2024
1 parent e0414f2 commit 35e28f5
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/main_my-1k-ee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

name: Build and deploy ASP.Net Core app to Azure Web App - my-1k-ee

defaults:
run:
working-directory: ./scripts

on:
push:
branches:
Expand Down Expand Up @@ -39,21 +43,21 @@ 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
uses: actions/download-artifact@v4
with:
name: .net-app

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_D991B47EC0104DB09ACE4717F8BE9F1E }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_47E10473692C43C5AEEEF025A9BB8596 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_86CF491FF410466C920238CFF15337D6 }}

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_D991B47EC0104DB09ACE4717F8BE9F1E }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_47E10473692C43C5AEEEF025A9BB8596 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_86CF491FF410466C920238CFF15337D6 }}

- name: Deploy to Azure Web App
id: deploy-to-webapp
Expand All @@ -62,4 +66,4 @@ jobs:
app-name: 'my-1k-ee'
slot-name: 'Production'
package: .


0 comments on commit 35e28f5

Please sign in to comment.