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 }}