Commit 619449c
committed
feat(ci): enable preview deployments via docs-preview label
Add support for triggering preview deployments by adding the
'docs-preview' label to pull requests. This enables on-demand testing
of documentation changes before merging.
When the label is present:
- DEPLOY_ENABLED is set to "true"
- DEPLOY_ENVIRONMENT is set to "preview"
- deploy job runs and calls cf-deploy-preview recipe
- Version is uploaded with branch-specific preview alias
This preserves the sophisticated version promotion workflow while
adding label-based deployment control, following a pattern similar
to existing skip-ci and actions-debug labels.
Preview URL format: https://b-{branch}-ts-nix-docs.sciexp.workers.dev1 parent 7261dc1 commit 619449c
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
0 commit comments