Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
chore: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
GayeongKimm committed Aug 25, 2024
1 parent 96c22de commit bc9d0d5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,10 @@ jobs:
- name: Install azd
uses: Azure/[email protected]

- name: Log in with Azure (Federated Credentials)
if: ${{ env.AZURE_CLIENT_ID != '' }}
- name: Log in with Azure using Service Principal
run: |
az login
--service-principal -u ${{ secrets.AZURE_CLIENT_ID }} -p ${{ secrets.AZURE_CLIENT_SECRET }}
--tenant ${{ secrets.AZURE_TENANT_ID }}
shell: pwsh
az login --service-principal -u ${{ secrets.AZURE_CLIENT_ID }} -p ${{ secrets.AZURE_CLIENT_SECRET }} --tenant ${{ secrets.AZURE_TENANT_ID }}
shell: bash

- name: Install Bicep CLI
run: az bicep install
Expand Down

0 comments on commit bc9d0d5

Please sign in to comment.