From aea3b8bbbd247ad1b66b829e5a25583ced63abb5 Mon Sep 17 00:00:00 2001 From: Yoona Oh Date: Wed, 8 May 2024 10:23:05 -0700 Subject: [PATCH] Remove the Azure App Service build and deployment workflow config --- .../master_yo-webapp-win-javase-11.yml | 62 ------------------- 1 file changed, 62 deletions(-) delete mode 100644 .github/workflows/master_yo-webapp-win-javase-11.yml diff --git a/.github/workflows/master_yo-webapp-win-javase-11.yml b/.github/workflows/master_yo-webapp-win-javase-11.yml deleted file mode 100644 index f8efd5c..0000000 --- a/.github/workflows/master_yo-webapp-win-javase-11.yml +++ /dev/null @@ -1,62 +0,0 @@ -# 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 - yo-webapp-win-javase-11 - -on: - push: - branches: - - master - workflow_dispatch: - -jobs: - build: - runs-on: windows-latest - - steps: - - uses: actions/checkout@v4 - - - name: Set up Java version - uses: actions/setup-java@v1 - with: - java-version: '11' - - - name: Build with Maven - run: mvn clean install - - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v3 - 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 }} - permissions: - id-token: write #This is required for requesting the JWT - - steps: - - name: Download artifact from build job - uses: actions/download-artifact@v3 - with: - name: java-app - - - name: Login to Azure - uses: azure/login@v1 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_32803E6ED2814E8F93239A5C2684885E }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_0FA3EB625B744E31B07292B6747ACFF1 }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_047FA8E1668B42B7BC28702F092853BA }} - - - name: Deploy to Azure Web App - id: deploy-to-webapp - uses: azure/webapps-deploy@v2 - with: - app-name: 'yo-webapp-win-javase-11' - slot-name: 'Production' - package: '*.jar' - \ No newline at end of file