Commit 6794200
committed
Prevent automatic GH Pages deployments from feature branches
Adds a condition to the GitHub Pages deploy job to prevent it from running automatically when the branch name contains a hyphen. This typically filters out feature or development branches, ensuring that only designated branches (e.g., `main`) or manual workflow dispatches trigger a deployment. This avoids unintended releases of incomplete or development content to GitHub Pages.1 parent efbc7e8 commit 6794200
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments