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