Skip to content

Commit 1b05d52

Browse files
refactor: streamline logout steps in deployment workflow
1 parent e7ae882 commit 1b05d52

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/deploy-waf.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,19 +191,17 @@ jobs:
191191
CONTAINER_APP_NAME=$(az containerapp list \
192192
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
193193
--query "[0].name" -o tsv)
194-
195194
MACAE_URL_API=$(az containerapp show \
196195
--name "$CONTAINER_APP_NAME" \
197196
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
198197
--query "properties.configuration.ingress.fqdn" -o tsv)
199-
200198
echo "MACAE_URL_API=https://${MACAE_URL_API}" >> $GITHUB_OUTPUT
201199
echo "CONTAINER_APP=${CONTAINER_APP_NAME}" >> $GITHUB_OUTPUT
202-
203-
- name: Logout from Azure
204-
run: |
205-
az logout
206-
azd auth logout
200+
201+
- name: Logout from Azure
202+
run: |
203+
az logout
204+
azd auth logout
207205
208206
e2e-test:
209207
needs: deploy

0 commit comments

Comments
 (0)