diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index ac657e5..17ea9e9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -80,13 +80,20 @@ jobs: with: creds: ${{ secrets.AZURE_CREDENTIALS_E2E_TESTS }} - - name: Azure CLI script - uses: azure/cli@v2 + - name: Deploy to Azure Functions + uses: Azure/functions-action@v1 with: - azcliversion: 2.58.0 - inlineScript: | - cd examples/with-${{ matrix.runtime }}/.nmt/dist && \ - func azure functionapp publish nmt-e2e-${{ matrix.target }}-${{ secrets[matrix.resource_identifier_key] }} + app-name: nmt-e2e-${{ matrix.target }}-${{ secrets[matrix.resource_identifier_key] }} + package: examples/with-${{ matrix.runtime }}/.nmt/dist + + + # - name: Azure CLI script + # uses: azure/cli@v2 + # with: + # azcliversion: 2.58.0 + # inlineScript: | + # cd examples/with-${{ matrix.runtime }}/.nmt/dist && \ + # func azure functionapp publish nmt-e2e-${{ matrix.target }}-${{ secrets[matrix.resource_identifier_key] }} - name: Wait for the deployment to finish run: sleep 60