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