Skip to content

Use different login method #3

Use different login method

Use different login method #3

Workflow file for this run

on:
push:
branches: [ "feat/azure_setup" ]
jobs:
deploy_infrastructure:
name: 'Provision Infrastructure'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
environment:
name: 'Test'
steps:
- uses: actions/checkout@v4
- name: 'Az CLI login'
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 account show