Branches (on)
This node uses the key branch as a default prefix if not given a map.
Types
Keys
If given a map, the following keys are supported:
branch— Include or exclude branches from being built (type: map, sequence of string, or string) detailscondition— (type: sequence of string, or string)all_branches— (type: boolean)pr— (type: boolean)
Examples
on:
branch:
only:
- master
except:
- develop
condition:
- string
all_branches: true
on:
only:
- master
except:
- develop
on:
- master
on: master