mirror of
https://github.com/Lemonochrme/service-architecture.git
synced 2025-06-08 13:40:50 +02:00
Update main_helpapp.yml
This commit is contained in:
parent
bbea7e8d06
commit
3b47c53345
1 changed files with 11 additions and 11 deletions
22
.github/workflows/main_helpapp.yml
vendored
22
.github/workflows/main_helpapp.yml
vendored
|
@ -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
|
||||
|
@ -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_88F0F141C7084A8789D648390DA913D7 }}
|
||||
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_A84251CAC0104DC8A6709EE1E898E464 }}
|
||||
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_11555886AA084155873A3C256628D2F2 }}
|
||||
|
||||
- name: Login to Azure
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_88F0F141C7084A8789D648390DA913D7 }}
|
||||
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_A84251CAC0104DC8A6709EE1E898E464 }}
|
||||
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_11555886AA084155873A3C256628D2F2 }}
|
||||
|
||||
- name: Deploy to Azure Web App
|
||||
id: deploy-to-webapp
|
||||
|
@ -60,4 +60,4 @@ jobs:
|
|||
app-name: 'helpapp'
|
||||
slot-name: 'Production'
|
||||
package: '*.jar'
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue