Skip to content

Commit 467d772

Browse files
authored
Use environment variable for Azure app name
1 parent 29ce405 commit 467d772

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/docker-publish-ghcr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
env:
77
REGISTRY: ghcr.io
88
IMAGE_NAME: sayedimac/docker-app
9+
APPNAME: jaz204grid
910

1011
jobs:
1112
build:
@@ -63,6 +64,6 @@ jobs:
6364
- name: Deploy to Azure Web App
6465
uses: azure/webapps-deploy@v2
6566
with:
66-
app-name: your-app-name
67+
app-name: ${{ env.APPNAME }}
6768
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
6869
images: ghcr.io/sayedimac/docker-app

0 commit comments

Comments
 (0)