File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ echo ""
142142
143143instance_url=$( grep ' "instance_url":' $response | sed -n ' s/.*"instance_url": "\([^"]*\)".*/\1/p' )
144144decoded_instance_url=$( echo $instance_url | sed ' s/\\u0026/\&/g' )
145+ echo " $decoded_instance_url " > config/INSTANCE_URL
146+
145147echo " "
146148echo " Use this URL to complete the workflow steps:"
147149echo $decoded_instance_url
Original file line number Diff line number Diff line change @@ -7,12 +7,6 @@ if [[ $SHELL != *"bash"* ]]; then
77 exit 1
88fi
99
10- # Step 1: Check that the workflow ID exists
11- workflow_created=$( cat config/WORKFLOW_ID)
12- if [ -z " $workflow_created " ]; then
13- bash ./examples/Maestro/utils.sh
14- fi
15-
1610# check that create workflow script ran successfully
1711workflow_created=$( cat config/WORKFLOW_ID)
1812if [ -z " $workflow_created " ]; then
@@ -21,7 +15,7 @@ if [ -z "$workflow_created" ]; then
2115fi
2216
2317# Step 2: Check that the instance URL exists
24- instance_url=$( grep ' "instance_url": ' $response | sed -n ' s/.*"instance_url": "\([^"]*\)".*/\1/p ' )
18+ instance_url=$( cat config/INSTANCE_URL )
2519if [ -z " $instance_url " ]; then
2620 echo " No instance URL found. Please run the trigger workflow script first."
2721 exit 1
You can’t perform that action at this time.
0 commit comments