Skip to content

Commit

Permalink
fix(github-actions): azure functions deploy process
Browse files Browse the repository at this point in the history
  • Loading branch information
mildronize committed May 5, 2024
1 parent 75fb288 commit 68b9020
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68b9020

Please sign in to comment.