Skip to content

Commit 028456f

Browse files
updated the script to get the backend container app
1 parent e3a6b6a commit 028456f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,10 @@ jobs:
159159
- name: Get Container App Backend URL
160160
id: get_backend_url
161161
run: |
162+
# Get specifically the backend container app (not the MCP container app)
162163
CONTAINER_APP_NAME=$(az containerapp list \
163164
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
164-
--query "[0].name" -o tsv)
165+
--query "[?starts_with(name, 'ca-') && !contains(name, 'mcp')].name" -o tsv)
165166
166167
MACAE_URL_API=$(az containerapp show \
167168
--name "$CONTAINER_APP_NAME" \

0 commit comments

Comments
 (0)