From 7cb4225584cd810119b4656b8f1c600b560cb478 Mon Sep 17 00:00:00 2001 From: ntt-prajwal <167671255+prajwalbharambe@users.noreply.github.com> Date: Sun, 27 Oct 2024 17:44:27 +0530 Subject: [PATCH] Remove the Azure App Service build and deployment workflow config --- .github/workflows/11.x_d10.yml | 66 ---------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 .github/workflows/11.x_d10.yml diff --git a/.github/workflows/11.x_d10.yml b/.github/workflows/11.x_d10.yml deleted file mode 100644 index 3486e57487c..00000000000 --- a/.github/workflows/11.x_d10.yml +++ /dev/null @@ -1,66 +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 PHP app to Azure Web App - d10 - -on: - push: - branches: - - 11.x - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.3' - - - name: Check if composer.json exists - id: check_files - uses: andstor/file-existence-action@v1 - with: - files: 'composer.json' - - - name: Run composer install if composer.json exists - if: steps.check_files.outputs.files_exists == 'true' - run: composer validate --no-check-publish && composer install --prefer-dist --no-progress - - - name: Zip artifact for deployment - run: zip release.zip ./* -r - - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v4 - with: - name: php-app - path: release.zip - - 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@v4 - with: - name: php-app - - - name: Unzip artifact for deployment - run: unzip release.zip - - - name: 'Deploy to Azure Web App' - uses: azure/webapps-deploy@v3 - id: deploy-to-webapp - with: - app-name: 'd10' - slot-name: 'Production' - package: . - publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_366734DD50D1455FAAA8FFFB2605E065 }} \ No newline at end of file