Skip to content

Commit

Permalink
add azure workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Aug 27, 2024
1 parent 698d69c commit e69b09f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/genai-azure-service-principal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: az login with service principal
on:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Azure Login action
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
enable-AzPSSession: true

- name: Azure CLI script
uses: azure/cli@v2
with:
azcliversion: latest
inlineScript: |
az ad signed-in-user show

0 comments on commit e69b09f

Please sign in to comment.