Skip to content

Commit

Permalink
Merge pull request #139 from Azure-Samples/marlenezw-patch-2
Browse files Browse the repository at this point in the history
Update azure-dev.yml
  • Loading branch information
marlenezw authored Aug 30, 2024
2 parents 2329784 + 5b9db38 commit 96342df
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,7 @@ jobs:
$info = $Env:AZURE_CREDENTIALS | ConvertFrom-Json -AsHashtable;
Write-Host "::add-mask::$($info.clientSecret)"
az login `
--service-principal`
--username "$($info.clientId)" `
--password "$($info.clientSecret)" `
--tenant "$($info.tenantId)"
az login --service-principal -u "$($info.clientId)" -p "$($info.clientSecret)" --tenant "$($info.tenantId)"
shell: pwsh
env:
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
Expand Down

0 comments on commit 96342df

Please sign in to comment.