Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCalvert committed Oct 11, 2023
1 parent 263e90a commit 883e158
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions scripts/trigger-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 883e158

Please sign in to comment.