From 3c652586aa3a63e81712b10d762b866591a777d9 Mon Sep 17 00:00:00 2001 From: harshilkumar691 <128027207+harshilkumar691@users.noreply.github.com> Date: Thu, 16 Mar 2023 14:11:45 +0530 Subject: [PATCH 1/4] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_hphello.yml | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/main_hphello.yml diff --git a/.github/workflows/main_hphello.yml b/.github/workflows/main_hphello.yml new file mode 100644 index 000000000..7ca34a20f --- /dev/null +++ b/.github/workflows/main_hphello.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 - hphello + +on: + push: + branches: + - main + 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: '17' + + - 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: 'hphello' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_53959DDB566740C2841EB61EB7D7A20F }} + package: '*.jar' From 1af14485e5122ea58ddc3e5e0b7e30395a22ea4c Mon Sep 17 00:00:00 2001 From: harshilkumar691 <128027207+harshilkumar691@users.noreply.github.com> Date: Sat, 1 Apr 2023 11:42:03 +1000 Subject: [PATCH 2/4] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_12206821.yml | 53 +++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/main_12206821.yml diff --git a/.github/workflows/main_12206821.yml b/.github/workflows/main_12206821.yml new file mode 100644 index 000000000..37314d7a7 --- /dev/null +++ b/.github/workflows/main_12206821.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 - 12206821 + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Java version + uses: actions/setup-java@v1 + with: + java-version: '17' + + - 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: windows-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: '12206821' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_DEAC03C9B4DE4A4C99C1E11F0408DB7A }} + package: '*.jar' From 8833956134094a69fee77ed7eb92f0fd929d73f0 Mon Sep 17 00:00:00 2001 From: harshilkumar691 <128027207+harshilkumar691@users.noreply.github.com> Date: Sat, 1 Apr 2023 07:58:58 +0530 Subject: [PATCH 3/4] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_harshil09.yml | 53 ++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/main_harshil09.yml diff --git a/.github/workflows/main_harshil09.yml b/.github/workflows/main_harshil09.yml new file mode 100644 index 000000000..f8245b728 --- /dev/null +++ b/.github/workflows/main_harshil09.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 - harshil09 + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Java version + uses: actions/setup-java@v1 + with: + java-version: '17' + + - 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: windows-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: 'harshil09' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_7E42677AAB074D65BAD61B24D878C59B }} + package: '*.jar' From 9cf937534d85407d57acc487bb28d1eb66dbc73d Mon Sep 17 00:00:00 2001 From: harshilkumar691 <128027207+harshilkumar691@users.noreply.github.com> Date: Sat, 1 Apr 2023 08:14:48 +0530 Subject: [PATCH 4/4] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_harshil12206821.yml | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/main_harshil12206821.yml diff --git a/.github/workflows/main_harshil12206821.yml b/.github/workflows/main_harshil12206821.yml new file mode 100644 index 000000000..c35acbee6 --- /dev/null +++ b/.github/workflows/main_harshil12206821.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 - harshil12206821 + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Java version + uses: actions/setup-java@v1 + with: + java-version: '17' + + - 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: windows-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: 'harshil12206821' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_64E984E87E504CF1BD587AC2789D1762 }} + package: '*.jar'