From f5fc8903a6f2cd12ec7252b2624afa57b0ea0362 Mon Sep 17 00:00:00 2001 From: Jeff Martinez Date: Thu, 2 Nov 2023 18:19:12 -0700 Subject: [PATCH] Update deploy-to-staging-site.yml updating webapps deploy task --- .github/workflows/deploy-to-staging-site.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-to-staging-site.yml b/.github/workflows/deploy-to-staging-site.yml index 47bc8c203..276f5f8f6 100644 --- a/.github/workflows/deploy-to-staging-site.yml +++ b/.github/workflows/deploy-to-staging-site.yml @@ -83,11 +83,20 @@ jobs: with: name: jekyll-app - - name: Deploy to slot on staging site - uses: azure/webapps-deploy@v1 - with: + # - name: Deploy to slot on staging site + # uses: azure/webapps-deploy@v1 + # with: + # app-name: ${{ env.WEBAPP_NAME }} + # slot-name: ${{ env.SLOT_NAME }} + # package: blog.zip + + #### new deploy to slot staging + - name: Deploy to slot on staging site-2 + uses: Azure/webapps-deploy@v3.0.0 + with: app-name: ${{ env.WEBAPP_NAME }} slot-name: ${{ env.SLOT_NAME }} + # Applies to Web App only: Path to package or folder. *.zip, *.war, *.jar or a folder to deploy..default path is . package: blog.zip - name: Comment on PR with the preview link