Skip to content

Run Azure Login With a Service Principal Secret #6

Run Azure Login With a Service Principal Secret

Run Azure Login With a Service Principal Secret #6

Workflow file for this run

# File: .github/workflows/workflow.yml
on:
workflow_dispatch:
name: Run Azure Login With a Service Principal Secret
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
AZURE_CORE_OUTPUT: none
steps:
- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Azure CLI script
uses: azure/CLI@v1
with:
azcliversion: latest
inlineScript: |
az account show