From 9503b25635b88c09c7be861cba163e6d512d6004 Mon Sep 17 00:00:00 2001 From: sophian Date: Fri, 20 Oct 2023 10:26:56 -0400 Subject: [PATCH] fix: parse array properly --- .github/workflows/subql_deploy_workflow.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/subql_deploy_workflow.yaml b/.github/workflows/subql_deploy_workflow.yaml index 5f7e6ebd..f5d189e5 100644 --- a/.github/workflows/subql_deploy_workflow.yaml +++ b/.github/workflows/subql_deploy_workflow.yaml @@ -42,7 +42,7 @@ jobs: run: | echo "SUBQL_PROJ_NAME=$(yq '.name' project.yaml)" >> $GITHUB_ENV echo "SUBQL_PROJ_DECRIPTION=$(yq '.description' project.yaml)" >> $GITHUB_ENV - echo "SUBQL_ENDPOINT=$(yq '.network.endpoint[0]' project.yaml)" >> $GITHUB_ENV + echo "SUBQL_ENDPOINT=$(yq '.network.endpoint | join(\",\")' project.yaml)" >> $GITHUB_ENV - name: Setup Node uses: actions/setup-node@v3 with: