Skip to content

Commit ece54b7

Browse files
authored
fix: Use AD auth for deployment (#30)
1 parent 53d25aa commit ece54b7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy-monolith-api.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
runs-on: windows-latest
1515
steps:
1616
- uses: actions/checkout@v3
17+
- name: Login to Azure
18+
uses: azure/login@v1
19+
with:
20+
creds: ${{ secrets.AZURE_CREDENTIALS }}
1721
- name: Setup .NET SDK
1822
uses: actions/setup-dotnet@v3
1923
with:
@@ -44,5 +48,4 @@ jobs:
4448
uses: azure/webapps-deploy@v2
4549
with:
4650
app-name: ${{ env.AZURE_WEBAPP_NAME }}
47-
publish-profile: ${{ secrets.monolith_publish_profile }}
4851
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}

0 commit comments

Comments
 (0)