Commit e576844
committed
ci: Derive deploy environment from the branch ref
Select the environment from github.ref rather than the event type, so a
workflow_dispatch off a feature branch resolves to preview instead of
production. Production is only reached from the default branch.1 parent 4e95639 commit e576844
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments