Skip to content

Commit

Permalink
Update production_ics-server.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Wassim-Rached authored Oct 3, 2024
1 parent 9dabc78 commit ed8998f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/production_ics-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Java version
uses: actions/setup-java@v4
with:
java-version: 'java21'
java-version: 'java17'
distribution: 'microsoft'

- name: Build with Maven
Expand All @@ -37,21 +37,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: java-app

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_47180AD36C444E51A27C1ADA0CDEF93C }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_342B1F169E8C4D36AB9595BABABF4336 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_9B288E9C5D79442C9777F654D8C5D59F }}

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_47180AD36C444E51A27C1ADA0CDEF93C }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_342B1F169E8C4D36AB9595BABABF4336 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_9B288E9C5D79442C9777F654D8C5D59F }}

- name: Deploy to Azure Web App
id: deploy-to-webapp
Expand All @@ -60,4 +60,4 @@ jobs:
app-name: 'ics-server'
slot-name: 'Production'
package: '*.jar'


0 comments on commit ed8998f

Please sign in to comment.