Skip to content

feat: update azure pipeline creation with TypeScript example #2770

feat: update azure pipeline creation with TypeScript example

feat: update azure pipeline creation with TypeScript example #2770

name: Run Azure Login with OpenID Connect 🔑
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
id-token: write # Require write permission to Fetch an OIDC token.
contents: read
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: AZ CLI login 🔑
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: 'Run Azure CLI commands'
run: |
az account show
az group list
pwd