Skip to content

Commit

Permalink
Merge pull request #3736 from platformsh/remi/activity_scripts_fix
Browse files Browse the repository at this point in the history
Fix issues in the activity script documentation
  • Loading branch information
chadwcarlson committed Feb 8, 2024
2 parents 58eb30b + 0668ff1 commit 4e1d520
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sites/platform/src/integrations/activity/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ The following example executes only for backup actions on the `production` envir
{{% vendor/cli %}} integration:update --events=environment.backup --environments=production {{<variable "SCRIPT_ID" >}}
```

There is also an `--exclude-environments` switch to excluded environments by name rather than allow.

As a general rule, it's better to have an activity script only execute on the specific events and branches you're interested in
rather than firing on all activities and then filtering out undesired use cases in the script itself.
Expand Down Expand Up @@ -179,8 +178,7 @@ You get a payload similar to the following:
},
"value": "string",
"is_json": true,
"is_sensitive": true,
"is_enabled": true
"is_sensitive": true
}
```
Expand Down

0 comments on commit 4e1d520

Please sign in to comment.