Modified artifact created and updated Deployement to run Maven Spring Boot.

This commit is contained in:
Yohan Boujon 2024-12-16 18:07:04 +01:00 committed by GitHub
parent 2a0d5c1269
commit 5c2739cb98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: java-app name: java-app
path: '${{ github.workspace }}/helpapp-backend/*/target/*.jar' path: '${{ github.workspace }}/helpapp-backend/*'
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -53,11 +53,11 @@ jobs:
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: Run Maven Spring Boot
id: deploy-to-webapp
uses: azure/webapps-deploy@v3 uses: azure/webapps-deploy@v3
with: with:
app-name: 'helpapp' app-name: 'helpapp'
slot-name: 'Production' slot-name: 'Production'
package: 'user-service/target/user-service-1.0-SNAPSHOT.jar' package: '${{ github.workspace }}/helpapp-backend/user-service/target/user-service-1.0-SNAPSHOT.jar'
custom-command: 'mvn spring-boot:run -pl user-service'