From 883e1588605687faa90735d35db8a39cc66a0efb Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Thu, 12 Oct 2023 11:04:04 +1300 Subject: [PATCH] Fixed formatting --- scripts/trigger-e2e.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/trigger-e2e.sh b/scripts/trigger-e2e.sh index 1a27ea932..e2705a549 100644 --- a/scripts/trigger-e2e.sh +++ b/scripts/trigger-e2e.sh @@ -49,16 +49,16 @@ if [ -z $E2E_ESTUARY_URL ] || [ -z $E2E_ESTUARY_TOKEN_PATH ]; then echo "Error: No Estuary URL or token path found, end to end is not triggered. Please make sure E2E_ESTUARY_URL and E2E_ESTUARY_TOKEN_PATH are set up." else # Trigger GitHub Action to run the nightwatch workflow via estuary -curl --location --request POST "$E2E_ESTUARY_URL" \ - --header "Authorization: Bearer $(cat $E2E_ESTUARY_TOKEN_PATH)" \ - --header "Content-Type: application/json" \ - --data-raw '{ - "owner": "dpc-sdp", - "repo": "ripple", - "workflow": "nightwatch.yml", - "ref": "'"$BRANCH"'", - "be_url": "'"$BE_URL"'", - "fe_url": "'"$FE_URL"'", - "project": "reference" - }' + curl --location --request POST "$E2E_ESTUARY_URL" \ + --header "Authorization: Bearer $(cat $E2E_ESTUARY_TOKEN_PATH)" \ + --header "Content-Type: application/json" \ + --data-raw '{ + "owner": "dpc-sdp", + "repo": "ripple", + "workflow": "nightwatch.yml", + "ref": "'"$BRANCH"'", + "be_url": "'"$BE_URL"'", + "fe_url": "'"$FE_URL"'", + "project": "reference" + }' fi