Skip to content

Commit

Permalink
updated login mtd
Browse files Browse the repository at this point in the history
  • Loading branch information
githubofkrishnadhas committed Dec 7, 2023
1 parent cd949c7 commit 4b0dfee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/start_azure_vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZURE_CREDENTIALS}}
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
- name: az cli commands
uses: azure/CLI@v1
with:
azcliversion: 2.55.0
inlinescript: |
az account set -s ${{ secrets.AZURE_SUBSCRIPTION_ID }}
az account show -o json

0 comments on commit 4b0dfee

Please sign in to comment.