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
|
- name: Set up Java version
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: 'java21'
|
java-version: 'java17'
|
||||||
distribution: 'microsoft'
|
distribution: 'microsoft'
|
||||||
|
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
|
@ -37,21 +37,21 @@ jobs:
|
||||||
environment:
|
environment:
|
||||||
name: 'Production'
|
name: 'Production'
|
||||||
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
|
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write #This is required for requesting the JWT
|
id-token: write #This is required for requesting the JWT
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifact from build job
|
- name: Download artifact from build job
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: java-app
|
name: java-app
|
||||||
|
|
||||||
- name: Login to Azure
|
- name: Login to Azure
|
||||||
uses: azure/login@v2
|
uses: azure/login@v2
|
||||||
with:
|
with:
|
||||||
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_88F0F141C7084A8789D648390DA913D7 }}
|
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_88F0F141C7084A8789D648390DA913D7 }}
|
||||||
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_A84251CAC0104DC8A6709EE1E898E464 }}
|
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_A84251CAC0104DC8A6709EE1E898E464 }}
|
||||||
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_11555886AA084155873A3C256628D2F2 }}
|
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_11555886AA084155873A3C256628D2F2 }}
|
||||||
|
|
||||||
- name: Deploy to Azure Web App
|
- name: Deploy to Azure Web App
|
||||||
id: deploy-to-webapp
|
id: deploy-to-webapp
|
||||||
|
@ -60,4 +60,4 @@ jobs:
|
||||||
app-name: 'helpapp'
|
app-name: 'helpapp'
|
||||||
slot-name: 'Production'
|
slot-name: 'Production'
|
||||||
package: '*.jar'
|
package: '*.jar'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue