From d341b3e6dd5524ff502594da7a01f150734aef94 Mon Sep 17 00:00:00 2001 From: srinu50536 Date: Sun, 2 Oct 2022 11:51:47 +0530 Subject: [PATCH 1/5] added for bracng test --- testfile1 | 1 + 1 file changed, 1 insertion(+) create mode 100644 testfile1 diff --git a/testfile1 b/testfile1 new file mode 100644 index 0000000..b507730 --- /dev/null +++ b/testfile1 @@ -0,0 +1 @@ +created ofr bracn test From c423cc1fecf61bc16ec3f169b1623240f8ad707a Mon Sep 17 00:00:00 2001 From: srinu50536 Date: Sun, 2 Oct 2022 12:15:56 +0530 Subject: [PATCH 2/5] added latest update to dev branch --- test1 | 1 + 1 file changed, 1 insertion(+) create mode 100644 test1 diff --git a/test1 b/test1 new file mode 100644 index 0000000..e341ce0 --- /dev/null +++ b/test1 @@ -0,0 +1 @@ +dev to master bracnh update From 89a240f573956acc7b4ad4ebf39777665f91ccdf Mon Sep 17 00:00:00 2001 From: srinu50536 Date: Sun, 2 Oct 2022 12:20:44 +0530 Subject: [PATCH 3/5] updated master --- test1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test1 b/test1 index e341ce0..555c294 100644 --- a/test1 +++ b/test1 @@ -1 +1,4 @@ -dev to master bracnh update +dev to master bracnh updat + +iam from master:wq! + From 349c4468329ef07bedff1208fa6eb101f925386d Mon Sep 17 00:00:00 2001 From: srinu50536 Date: Sun, 2 Oct 2022 13:19:35 +0530 Subject: [PATCH 4/5] test --- test1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test1 b/test1 index e341ce0..d82226d 100644 --- a/test1 +++ b/test1 @@ -1 +1,4 @@ dev to master bracnh update + +dev to master bracnh updat +dev to master bracnh updat From d72b5f4a3c72171f3301ba7556cf510c6b32b73e Mon Sep 17 00:00:00 2001 From: srinu50536 Date: Fri, 7 Oct 2022 13:50:27 +0530 Subject: [PATCH 5/5] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/master_ecommsrinu.yml | 53 +++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/master_ecommsrinu.yml diff --git a/.github/workflows/master_ecommsrinu.yml b/.github/workflows/master_ecommsrinu.yml new file mode 100644 index 0000000..584e67a --- /dev/null +++ b/.github/workflows/master_ecommsrinu.yml @@ -0,0 +1,53 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions + +name: Build and deploy JAR app to Azure Web App - ecommsrinu + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Java version + uses: actions/setup-java@v1 + with: + java-version: '8' + + - name: Build with Maven + run: mvn clean install + + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v2 + with: + name: java-app + path: '${{ github.workspace }}/target/*.jar' + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: 'Production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: java-app + + - name: Deploy to Azure Web App + id: deploy-to-webapp + uses: azure/webapps-deploy@v2 + with: + app-name: 'ecommsrinu' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_48EC224E6BE348C4962146E146B6D46D }} + package: '*.jar'