Skip to content

Commit

Permalink
Updated pipeline with azure authentication via service principal and …
Browse files Browse the repository at this point in the history
…deployment to Azure Function App
  • Loading branch information
hvalfangst committed Dec 27, 2023
1 parent 02599ae commit b191a2b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,8 @@ jobs:
with:
name: handler

- name: Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_SP_APP_ID }}
secret: ${{ secrets.AZURE_SP_PASSWORD }}
tenant: ${{ secrets.AZURE_TENANT_ID }}
- name: Login to Azure
run: az login --service-principal -u ${{ secrets.AZURE_SP_APP_ID }} -p ${{ secrets.AZURE_SP_PASSWORD }} --tenant ${{ secrets.AZURE_TENANT_ID }}

- name: Run Azure Functions Action
uses: Azure/functions-action@v1
Expand Down

0 comments on commit b191a2b

Please sign in to comment.