From 3c0042b93c3e5a334efcae0e26761bfd6d8efbe9 Mon Sep 17 00:00:00 2001 From: sambokar Date: Fri, 21 Jun 2024 11:33:30 -0400 Subject: [PATCH] accidentally deleted main build step, restoring and commenting out current nonfunctional steps for later --- .github/workflows/main-forestgeo-livesite.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/main-forestgeo-livesite.yml b/.github/workflows/main-forestgeo-livesite.yml index 440af2ac..09f13725 100644 --- a/.github/workflows/main-forestgeo-livesite.yml +++ b/.github/workflows/main-forestgeo-livesite.yml @@ -86,6 +86,16 @@ jobs: # tenant-id: ${{ secrets.AZURE_AD_TENANT_ID }} # subscription-id: ${{ secrets.AZURE_AD_SUBSCRIPTION_ID }} + - name: 'Deploy to Azure Web App (main)' + id: deploy-to-webapp-main + if: github.ref == 'refs/heads/main' + uses: azure/webapps-deploy@v2 + with: + app-name: 'forestgeo-livesite' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_852346BD764D45D08854E6679137F844 }} + package: ./frontend/build/standalone + - name: 'Deploy to Azure Web App (development)' id: deploy-to-webapp-dev if: startsWith(github.ref, 'refs/heads/forestgeo-app-')