From 83f5f1d85a74886671f0e99f2178a6cd40001e13 Mon Sep 17 00:00:00 2001 From: "sandipsamal117@gmail.com" Date: Tue, 1 Oct 2024 17:42:12 -0400 Subject: [PATCH] fix chris_url --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2239e83..7aa9d5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,11 +141,11 @@ jobs: if: github.ref_type == 'tag' run: | auth='${{ secrets.CHRISPROJECT_USERNAME }}:${{ secrets.CHRISPROJECT_PASSWORD }}' - chris_url='https://cube.chrisproject.org/api/v1/' - admin_url="$(curl -sSf -u "$auth" '${{ chris_url }}' -H 'Accept: application/json' | jq -r '.collection_links.admin')" + chris_url="https://cube.chrisproject.org/api/v1/" + admin_url="$(curl -sSf -u "$auth" $chris_url -H 'Accept: application/json' | jq -r '.collection_links.admin')" compute_names="NERC" if [ "$admin_url" = "null" ]; then - echo "::error ::${{ secrets.CHRISPROJECT_USERNAME }} is not an admin for ${{ chris_url }}" + echo "::error ::${{ secrets.CHRISPROJECT_USERNAME }} is not an admin for $chris_url" exit 1 fi