From 2e85bd98769a2360574e433eb5bb0c71f554f9e5 Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Thu, 14 Mar 2024 12:45:02 +0300 Subject: [PATCH] Disable default server deploy --- .github/workflows/build.yml | 56 ++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26f97ad..e56ec3c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -178,34 +178,34 @@ jobs: draft: true allowUpdates: true - Deploy: - runs-on: ubuntu-latest - needs: Build - if: ${{ github.actor != 'dependabot[bot]' && ((github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/tags')) }} - - concurrency: - group: ${{ github.workflow }} - - steps: - - name: Download Artifact - uses: actions/download-artifact@v4 - with: - name: deploy - path: ${{ github.workspace }}/deploy - - - name: Azure Login - uses: azure/login@v2 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - - - name: Deploy - uses: azure/arm-deploy@v2 - with: - subscriptionId: ${{ env.AZURE_SUBSCRIPTION_ID }} - resourceGroupName: ${{ env.AZURE_RESOURCE_GROUP }} - template: '${{ github.workspace }}/deploy/main.bicep' - parameters: '${{ github.workspace }}/deploy/main.parameters.json' - scope: 'resourcegroup' + # Deploy: + # runs-on: ubuntu-latest + # needs: Build + # if: ${{ github.actor != 'dependabot[bot]' && ((github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/tags')) }} + + # concurrency: + # group: ${{ github.workflow }} + + # steps: + # - name: Download Artifact + # uses: actions/download-artifact@v4 + # with: + # name: deploy + # path: ${{ github.workspace }}/deploy + + # - name: Azure Login + # uses: azure/login@v2 + # with: + # creds: ${{ secrets.AZURE_CREDENTIALS }} + + # - name: Deploy + # uses: azure/arm-deploy@v2 + # with: + # subscriptionId: ${{ env.AZURE_SUBSCRIPTION_ID }} + # resourceGroupName: ${{ env.AZURE_RESOURCE_GROUP }} + # template: '${{ github.workspace }}/deploy/main.bicep' + # parameters: '${{ github.workspace }}/deploy/main.parameters.json' + # scope: 'resourcegroup' GitHubPackages: runs-on: ubuntu-latest