Skip to content

Commit ffa5e15

Browse files
committed
Updated context
1 parent e03c1eb commit ffa5e15

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

context/generalinstructions.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,14 @@ data "octopusdeploy_deployment_targets" "kubernetes_cluster_target_example" {
968968
"Octopus.Action.Script.ScriptBody" = "curl -w \"%%{http_code}\" http://example.org"
969969
```
970970

971+
This is another example using the heredoc syntax:
972+
973+
```
974+
"Octopus.Action.Script.ScriptBody" = <<EOT
975+
curl -w \"%%{http_code}\" http://example.org
976+
EOT
977+
```
978+
971979
* Script steps that reference variables like "${VARIABLE}" must escape the dollar sign like "$${VARIABLE}", for example:
972980

973981
```

0 commit comments

Comments
 (0)