From bc9d0d515d5e9d43d93c43c5b55e70c46894d867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EA=B0=80=EC=98=81?= Date: Mon, 26 Aug 2024 00:54:45 +0900 Subject: [PATCH] chore: workflows --- .github/workflows/main.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73d6155..70110fd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,13 +57,10 @@ jobs: - name: Install azd uses: Azure/setup-azd@v1.0.0 - - 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