Skip to content

Commit e2b7930

Browse files
committed
Configure Azure deployment with correct app name and service principal authentication
1 parent d3d263f commit e2b7930

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/deploy-azure.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
workflow_dispatch:
1212

1313
env:
14-
AZURE_WEBAPP_NAME: 'your-app-name' # Replace with your App Service name
14+
AZURE_WEBAPP_NAME: 'tps-app-scripting-editor'
1515
REGISTRY: ghcr.io
1616
IMAGE_NAME: ${{ github.repository }}/app-scripting-editor
1717

@@ -28,10 +28,14 @@ jobs:
2828
- name: Lowercase repository name
2929
run: echo "IMAGE_NAME_LOWER=$(echo ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
3030

31+
- name: Login to Azure
32+
uses: azure/login@v1
33+
with:
34+
creds: ${{ secrets.AZURE_CREDENTIALS }}
35+
3136
- name: Deploy to Azure Web App
3237
id: deploy-to-webapp
3338
uses: azure/webapps-deploy@v2
3439
with:
3540
app-name: ${{ env.AZURE_WEBAPP_NAME }}
36-
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
3741
images: '${{ env.IMAGE_NAME_LOWER }}:latest'

0 commit comments

Comments
 (0)