Skip to content

Commit 3c440fe

Browse files
author
nianiB9
committed
updated code snippet markers
1 parent 662064d commit 3c440fe

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

examples/Maestro/eg002EmbedWorkflow.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,13 @@ if [ -z "$workflow_created" ]; then
1313
exit 0
1414
fi
1515

16-
#ds-snippet-start:Maestro2Step2
1716
#Check that the instance URL exists
1817
instance_url=$(cat config/INSTANCE_URL)
1918
if [ -z "$instance_url" ]; then
2019
echo "No instance URL found. Please run the trigger workflow script first."
2120
exit 1
2221
fi
23-
#ds-snippet-end:Maestro2Step2
2422

25-
#ds-snippet-start:Maestro2Step3
2623
# Launch local server and open in browser
2724
decoded_instance_url=$(echo "$instance_url" | sed 's/\\u0026/\&/g')
2825

@@ -36,4 +33,3 @@ elif which start &> /dev/null ; then
3633
start $host_url
3734
fi
3835
php ./examples/Maestro/lib/startServerForEmbeddedWorkflow.php "$decoded_instance_url"
39-
#ds-snippet-end:Maestro2Step3

examples/Maestro/lib/startServerForEmbeddedWorkflow.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@
3434
</style>
3535
</head>
3636
<body>
37+
#ds-snippet-start:Maestro2Step3
3738
<div>
3839
<iframe src=$triggerUrl width=800 height=600>
3940
</iframe>
4041
</div>
42+
#ds-snippet-end:Maestro2Step3
4143
</body>
4244
</html>
4345

0 commit comments

Comments
 (0)