@sailci/psx-components-branch
v0.2.0Branch
Overview
The Branch component is useful for running any of its child components on specified Git branches.
Valid Props
Name | Type | Example | Notes |
---|---|---|---|
when | string | ^master$ | Should be a valid RegExp expression |
Example Usage
<Branch when="^master$">
<Run command="echo on master branch!" />
</Branch>
npm i @sailci/psx-components-branch
Metadata
- MIT
- Whatever
- Unknown
- released 6/21/2018