From 5b2877e3f96c944da76fba31c31e2bfdb7073758 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 3 Apr 2024 14:32:23 +0530 Subject: [PATCH] fix auth --- .github/workflows/pr_check_webapp_dotnet_windows.yml | 10 +++++----- .../pr_check_windows_container_pubprofile.yml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pr_check_webapp_dotnet_windows.yml b/.github/workflows/pr_check_webapp_dotnet_windows.yml index 5df3165fe..1991da0be 100644 --- a/.github/workflows/pr_check_webapp_dotnet_windows.yml +++ b/.github/workflows/pr_check_webapp_dotnet_windows.yml @@ -71,14 +71,14 @@ jobs: npm install npm run build - - name: Azure authentication - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_WEBAPP_SPN }} + # - name: Azure authentication + # uses: azure/login@v1 + # with: + # creds: ${{ secrets.AZURE_WEBAPP_SPN }} - name: 'Deploy to Azure WebApp' uses: ./webapps-deploy/ with: app-name: ${{ env.AZURE_WEBAPP_NAME }} # Replace with your app name - #publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} # Define secret variable in repository settings as per action documentation + publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} # Define secret variable in repository settings as per action documentation package: 'D:\a\webapps-deploy\webapps-deploy\dotnetsample\SampleWebApplication\' diff --git a/.github/workflows/pr_check_windows_container_pubprofile.yml b/.github/workflows/pr_check_windows_container_pubprofile.yml index 3a8ead332..48058e2aa 100644 --- a/.github/workflows/pr_check_windows_container_pubprofile.yml +++ b/.github/workflows/pr_check_windows_container_pubprofile.yml @@ -30,10 +30,10 @@ jobs: ref: main path: 'python_container_App' - - name: Azure authentication - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_WEBAPP_SPN }} + # - name: Azure authentication + # uses: azure/login@v1 + # with: + # creds: ${{ secrets.AZURE_WEBAPP_SPN }} - name: Logout from Azure Container Registry run: |