From e8c2cdf63a07ceb31183fde0ac8efafe56372144 Mon Sep 17 00:00:00 2001 From: Jeff Martinez Date: Fri, 5 Jan 2024 09:39:15 -0800 Subject: [PATCH] updating login version --- .github/workflows/deploy-to-staging-site.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-to-staging-site.yml b/.github/workflows/deploy-to-staging-site.yml index f416c2857..b0ad2d13d 100644 --- a/.github/workflows/deploy-to-staging-site.yml +++ b/.github/workflows/deploy-to-staging-site.yml @@ -80,13 +80,17 @@ jobs: pull-requests: write steps: - # attempt with latest version - adding new GH secrets individually - - name: Log into Azure CLI with service principal - uses: azure/login@v1 + # attempt with creds + - uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + + - name: Azure CLI script + uses: azure/CLI@v1 with: - client-id: ${{ secrets.AZURE_CLIENT_ID }} - tenant-id: ${{ secrets.AZURE_TENANT_ID }} - subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} + azcliversion: latest + inlineScript: | + az account show - name: Download artifact from build job uses: actions/download-artifact@v2