From abc87bb60cf74ff28bfbcd09e4d38158835f2e5a Mon Sep 17 00:00:00 2001 From: Jihui Date: Wed, 6 Nov 2024 02:46:23 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4github=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/azure-webapps-node.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/azure-webapps-node.yml b/.github/workflows/azure-webapps-node.yml index dc970bc..c570f0f 100644 --- a/.github/workflows/azure-webapps-node.yml +++ b/.github/workflows/azure-webapps-node.yml @@ -54,7 +54,7 @@ jobs: # npm run test --if-present - name: Upload artifact for deployment job - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: node-app path: . @@ -70,12 +70,9 @@ jobs: steps: - name: Download artifact from build job - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: node-app - - - name: Unzip artifact for deployment - run: unzip node-app.zip - name: 'Deploy to Azure Web App' id: deploy-to-webapp @@ -83,5 +80,5 @@ jobs: with: app-name: 'codepush-1105' slot-name: 'Production' - package: . + package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} publish-profile: ${{ secrets.AzureAppService_PublishProfile_9f63a62d8bd64e8791183bdf2abbd43b }}