From 7098257703d0665209f41efa7fe7b0d852ad2cec Mon Sep 17 00:00:00 2001 From: Philip Mifsud Date: Mon, 30 Oct 2023 15:58:54 +0100 Subject: [PATCH] check --- .../workflows/deploy-online-endpoint-pipeline-classical.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-online-endpoint-pipeline-classical.yml b/.github/workflows/deploy-online-endpoint-pipeline-classical.yml index e954567..15d1e3e 100644 --- a/.github/workflows/deploy-online-endpoint-pipeline-classical.yml +++ b/.github/workflows/deploy-online-endpoint-pipeline-classical.yml @@ -31,11 +31,12 @@ jobs: check_endpoint=$(az ml online-endpoint show --n ${{ format('taxi{0}', needs.get-config.outputs.oep) }} -g ${{ needs.get-config.outputs.resource_group }} -w ${{ needs.get-config.outputs.aml_workspace }} --query name) echo "CHECK_ENPOINT=$check_endpoint" >> $GITHUB_OUTPUT + name_point=$(${{ env.name_enpoint }}) - echo "${{ env.name_enpoint }}" + echo $name_point echo $check_endpoint - if [ "${{ env.name_enpoint }}" == $check_endpoint ] + if [[ "$name_point" == "$check_endpoint" ]] then echo "same" else