Skip to content

Commit b53083c

Browse files
committed
fix: add env block to debug target step
1 parent 155bffd commit b53083c

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/deploy-prod.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,17 @@ jobs:
113113
echo " - ${IMAGE_NAME}:${IMAGE_TAG}"
114114
echo " - ${IMAGE_NAME}:prod-latest"
115115
- name: Debug target
116-
run: |
117-
echo "RG=${RESOURCE_GROUP}"
118-
echo "APP=${CONTAINER_APP}"
119-
az containerapp show --name "${CONTAINER_APP}" --resource-group "${RESOURCE_GROUP}" --query properties.configuration.ingress.fqdn --output table
116+
env:
117+
RESOURCE_GROUP: ${{ secrets.PROD_RESOURCE_GROUP }}
118+
CONTAINER_APP: ${{ secrets.PROD_CONTAINER_APP }}
119+
run: |
120+
echo "RG=${RESOURCE_GROUP}"
121+
echo "APP=${CONTAINER_APP}"
122+
az containerapp show \
123+
--name "${CONTAINER_APP}" \
124+
--resource-group "${RESOURCE_GROUP}" \
125+
--query properties.configuration.ingress.fqdn \
126+
--output tsv
120127
- name: Deploy to Container App
121128
id: deploy
122129
env:

0 commit comments

Comments
 (0)