Skip to content

Commit

Permalink
Update main_519webnode.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Naserien authored Mar 27, 2024
1 parent 6bd964a commit c487349
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/main_519webnode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
push:
branches:
- main
paths:
- "Node/WEB/**"
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -42,8 +44,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 @@ -53,13 +55,13 @@ jobs:

- name: Unzip artifact for deployment
run: unzip release.zip

- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_B9A30B2DE7944220A0998A7C483A3581 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_B81A2E83968D4E368653CA39A535DD18 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_3280B369B0DA438AA85F3B174FBF30D0 }}

- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_B9A30B2DE7944220A0998A7C483A3581 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_B81A2E83968D4E368653CA39A535DD18 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_3280B369B0DA438AA85F3B174FBF30D0 }}

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
Expand All @@ -68,4 +70,4 @@ jobs:
app-name: '519webnode'
slot-name: 'Production'
package: .


0 comments on commit c487349

Please sign in to comment.