Revert "improvement: allow custom workflow branch name prefix (#1494)"
This reverts commit da0f520f0d4f7af0e0ec8af16fbdd04bc39751b4.
This commit is contained in:
@ -120,28 +120,3 @@ Template tags produce the following output:
|
||||
- `{{collection}}`: the name of the collection containing the entry changed
|
||||
|
||||
- `{{path}}`: the full path to the file changed
|
||||
|
||||
## Custom Editorial Workflow branch name prefixes
|
||||
|
||||
When using [editorial workflow](), a branch is created for each entry. By default the branch name
|
||||
follows this template:
|
||||
|
||||
```
|
||||
cms/{{slug}}
|
||||
```
|
||||
|
||||
You can customize the `cms` portion by setting `workflow_branch_prefix` under `backend` in your
|
||||
`config.yml`:
|
||||
|
||||
```yaml
|
||||
backend:
|
||||
name: some-backend
|
||||
branch: dev
|
||||
workflow_branch_prefix: cms-dev
|
||||
```
|
||||
|
||||
The above configuration would change the branch name template to:
|
||||
|
||||
```
|
||||
cms-dev/{{slug}}
|
||||
```
|
Reference in New Issue
Block a user