Skip to content

Run Azure Login With a Service Principal Secret #1

Run Azure Login With a Service Principal Secret

Run Azure Login With a Service Principal Secret #1

Workflow file for this run

# File: .github/workflows/workflow.yml
on:
workflow_dispatch:
schedule:
- cron: "20 9 * * 2"
name: Run Azure Login With a Service Principal Secret
jobs:
build-and-deploy:
runs-on: ubuntu-latest
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